* [PATCH] xtensa: fix prototype for ccount_read()
@ 2011-09-15 6:45 Axel Lin
0 siblings, 0 replies; only message in thread
From: Axel Lin @ 2011-09-15 6:45 UTC (permalink / raw)
To: linux-kernel; +Cc: Chris Zankel, Torben Hohn, Thomas Gleixner
>From 02101fa01a443c224fd92bb49ff5ca9d64218c2b Mon Sep 17 00:00:00 2001
From: Axel Lin <axel.lin@gmail.com>
Date: Thu, 15 Sep 2011 14:39:26 +0800
Subject: [PATCH] xtensa: fix prototype for ccount_read()
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
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 f3e5eb4..db18807 100644
--- a/arch/xtensa/kernel/time.c
+++ b/arch/xtensa/kernel/time.c
@@ -31,7 +31,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();
}
--
1.7.4.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-15 6:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-15 6:45 [PATCH] xtensa: fix prototype for ccount_read() Axel Lin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox