[LinuxBIOS] LNXI Merge: lnxi-patch-06/16

jason schildt jschildt at lnxi.com
Sat Sep 3 00:03:29 CEST 2005


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




More information about the coreboot mailing list