On 03/13/2012 08:05 PM, Jan Kiszka wrote:
Signed-off-by: Jan Kiszka<[email protected]>
---
arch/x86/include/asm/ipipe_64.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/include/asm/ipipe_64.h b/arch/x86/include/asm/ipipe_64.h
index c99830b..0fb92b4 100644
--- a/arch/x86/include/asm/ipipe_64.h
+++ b/arch/x86/include/asm/ipipe_64.h
@@ -45,8 +45,8 @@ extern int __ipipe_hrtimer_irq;
#define __ipipe_hrtimer_freq __ipipe_cpu_freq
#define __ipipe_hrclock_freq __ipipe_cpu_freq
-#define ipipe_tsc2ns(t) (((t) * 1000UL) / (__ipipe_clock_freq /
1000000UL))
-#define ipipe_tsc2us(t) ((t) / (__ipipe_clock_freq / 1000000UL))
+#define ipipe_tsc2ns(t) (((t) * 1000UL) / (__ipipe_cpu_freq /
1000000UL))
+#define ipipe_tsc2us(t) ((t) / (__ipipe_cpu_freq / 1000000UL))
/* Private interface -- Internal use only */
Merged, thanks.
--
Philippe.
_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main