* [PATCH 7/7] xtensa: add parameter to ccount_read(), v2
@ 2009-05-21 16:16 Coly Li
0 siblings, 0 replies; only message in thread
From: Coly Li @ 2009-05-21 16:16 UTC (permalink / raw)
To: Johannes Weiner; +Cc: LKML, Chris Zankel
This patch modifies parameter of ccount_read() from 'void' to 'struct
clocksource *cs', which fixes compile warning for incompatible parameter type.
Signed-off-by: Coly Li <coly.li@suse.de>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Ingo Molnar <mingo@elte.hu>
---
arch/xtensa/kernel/time.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/xtensa/kernel/time.c b/arch/xtensa/kernel/time.c
index 8848120..9638641 100644
--- a/arch/xtensa/kernel/time.c
+++ b/arch/xtensa/kernel/time.c
@@ -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();
}
--
Coly Li
SuSE Labs
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-21 16:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-21 16:16 [PATCH 7/7] xtensa: add parameter to ccount_read(), v2 Coly Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox