mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 1/3] xtensa: fix wrong extern declaration renamed in code using it
@ 2009-03-26 13:39 Oskar Schirmer
  2009-03-26 13:39 ` [patch 2/3] xtensa: implement ccount calibration for s6000 Oskar Schirmer
  2009-03-26 13:39 ` [patch 3/3] xtensa: update s6105_defconfig for ccount calibration Oskar Schirmer
  0 siblings, 2 replies; 3+ messages in thread
From: Oskar Schirmer @ 2009-03-26 13:39 UTC (permalink / raw)
  To: Chris Zankel; +Cc: linux-kernel, linux-xtensa, Oskar Schirmer

The variable ccount_nsec has been renamed to nsec_per_ccount
in arch/xtensa/kernel/time.c in 2b8aea74 (2007-08-05),
but the fix failed to rename the variable in
arch/xtensa/include/asm/timex.h as well.

Signed-off-by: Oskar Schirmer <os@emlix.com>
---
 arch/xtensa/include/asm/timex.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/xtensa/include/asm/timex.h b/arch/xtensa/include/asm/timex.h
index b83a818..053bc42 100644
--- a/arch/xtensa/include/asm/timex.h
+++ b/arch/xtensa/include/asm/timex.h
@@ -39,9 +39,9 @@
 
 #ifdef CONFIG_XTENSA_CALIBRATE_CCOUNT
 extern unsigned long ccount_per_jiffy;
-extern unsigned long ccount_nsec;
+extern unsigned long nsec_per_ccount;
 #define CCOUNT_PER_JIFFY ccount_per_jiffy
-#define NSEC_PER_CCOUNT  ccount_nsec
+#define NSEC_PER_CCOUNT  nsec_per_ccount
 #else
 #define CCOUNT_PER_JIFFY (CONFIG_XTENSA_CPU_CLOCK*(1000000UL/HZ))
 #define NSEC_PER_CCOUNT (1000UL / CONFIG_XTENSA_CPU_CLOCK)
-- 
1.6.2.107.ge47ee


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-26 13:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-26 13:39 [patch 1/3] xtensa: fix wrong extern declaration renamed in code using it Oskar Schirmer
2009-03-26 13:39 ` [patch 2/3] xtensa: implement ccount calibration for s6000 Oskar Schirmer
2009-03-26 13:39 ` [patch 3/3] xtensa: update s6105_defconfig for ccount calibration Oskar Schirmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®