projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88b6329
)
arm: Correct signature for get_ticks()
author
Simon Glass
<sjg@chromium.org>
Wed, 5 Apr 2017 23:53:17 +0000
(17:53 -0600)
committer
Tom Rini
<trini@konsulko.com>
Fri, 12 May 2017 02:03:38 +0000
(22:03 -0400)
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
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv8/generic_timer.c
b/arch/arm/cpu/armv8/generic_timer.c
index
cd92b2c
..
a2dda33
100644
(file)
--- 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;
}
-u
nsigned long long
get_ticks(void)
+u
int64_t
get_ticks(void)
{
unsigned long ticks = timer_read_counter();