Module: xenomai-forge Branch: master Commit: 9ba742725f558ce5672ebd14221c82d2a5220556 URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=9ba742725f558ce5672ebd14221c82d2a5220556
Author: Philippe Gerum <r...@xenomai.org> Date: Sat Jul 7 12:54:34 2012 +0200 x86: warn about unused TSC due to disabled APIC --- kernel/cobalt/arch/x86/hal.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/kernel/cobalt/arch/x86/hal.c b/kernel/cobalt/arch/x86/hal.c index 5d9d228..075b58a 100644 --- a/kernel/cobalt/arch/x86/hal.c +++ b/kernel/cobalt/arch/x86/hal.c @@ -242,6 +242,10 @@ unsigned long rthal_timer_calibrate(void) rthal_time_t t, dt; int i, count; + if (cpu_has_tsc) + printk("Xenomai: this configuration has APIC disabled albeit " + "CPU has a TSC.\You should enable APIC for better performances."); + flags = hard_local_irq_save(); /* Read the current latch value, whatever the current mode is. */ _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git