DESCRIPTION:
----------------------------------------------

## lnxi-patch-6 ##
src/cpu/x86/tsc/delay_tsc.c
        cpu_relax() gets called unconditionally.


DIFFSTAT:
----------------------------------------------
 delay_tsc.c |    4 ----
 1 files changed, 4 deletions(-)



PATCH:
----------------------------------------------

Index: delay_tsc.c
===================================================================
--- delay_tsc.c (revision 1105)
+++ delay_tsc.c (working copy)
@@ -159,11 +159,7 @@
         count = rdtscll();
         stop = clocks + count;
         while(stop > count) {
-#ifdef CONFIG_SMP
-#if CONFIG_SMP == 1
                cpu_relax();
-#endif
-#endif
                count = rdtscll();
         }
 }

--

Jason W. Schildt
LinuxBIOS Software Engineer
Linux Networx

--
LinuxBIOS mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios

Reply via email to