Browse Source

Daniel Jahre:


			
			
				rocklinux
			
			
		
Daniel Jahre 19 years ago
parent
commit
dd38f035b6
1 changed files with 19 additions and 0 deletions
  1. +19
    -0
      package/base/linux/linux26/arch-x86-asm-processor-h.patch

+ 19
- 0
package/base/linux/linux26/arch-x86-asm-processor-h.patch

@ -0,0 +1,19 @@
--- ./include/asm-i386/processor.h.vanilla 2005-11-02 17:16:16.000000000 +0100
+++ ./include/asm-i386/processor.h 2005-11-02 17:17:08.000000000 +0100
@@ -220,6 +220,7 @@
#define X86_CR4_OSFXSR 0x0200 /* enable fast FPU save and restore */
#define X86_CR4_OSXMMEXCPT 0x0400 /* enable unmasked SSE exceptions */
+#ifdef __KERNEL__
/*
* Save the cr4 feature set we're using (ie
* Pentium 4MB enable and PPro Global page
@@ -246,6 +247,7 @@
write_cr4(cr4);
}
+#endif /* __KERNEL__ /*
/*
* NSC/Cyrix CPU configuration register indexes
*/

Loading…
Cancel
Save