Skip to contentSkip to conversation

xtensa: ccount_read()

PATCH Applied Coly Li 1 participant 1 message Apr 22, 2009 Tensilica Xtensa port (xtensa)

lore
Share & tools
lore

Coly Li

author
#0 lore raw

PATCH 7/7 xtensa: ccount_read()

This patch modifies parameter of au1x_counter1_read() from 'void' to 'struct clocksource *cs', which fixes compile warning for incompatible parameter type.

Cc Johannes Weiner <[email protected]>
Cc Ingo Molnar <[email protected]>
---
 arch/xtensa/kernel/time.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/xtensa/kernel/time.c +1 -1
index 8848120..9638641 100644
@@ -30,7 +30,7 @@ unsigned long ccount_per_jiffy;		/* per 1/HZ */
 unsigned long nsec_per_ccount;		/* nsec per ccount increment */
 #endif
 
-static cycle_t ccount_read(void)
+static cycle_t ccount_read(struct clocksource *cs)
 {
 	return (cycle_t)get_ccount();
 }
Signature · 2 lines
Coly Li
SuSE Labs