Message ID | 20170405235318.18217-1-sjg@chromium.org |
---|---|
State | Accepted |
Commit | f97cae95759efd4dbb19acdde201a1f13815832a |
Delegated to: | Tom Rini |
Headers | show |
On Wed, Apr 05, 2017 at 05:53:17PM -0600, Simon Glass wrote: > This should be uint64_t to match its definition in common.h. Fix it. > > Signed-off-by: Simon Glass <sjg@chromium.org> Applied to u-boot/master, thanks!
diff --git a/arch/arm/cpu/armv8/generic_timer.c b/arch/arm/cpu/armv8/generic_timer.c index cd92b2c761..a2dda333fe 100644 --- a/arch/arm/cpu/armv8/generic_timer.c +++ b/arch/arm/cpu/armv8/generic_timer.c @@ -43,7 +43,7 @@ unsigned long timer_read_counter(void) return cntpct; } -unsigned long long get_ticks(void) +uint64_t get_ticks(void) { unsigned long ticks = timer_read_counter();
This should be uint64_t to match its definition in common.h. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org> --- arch/arm/cpu/armv8/generic_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)