summaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/patches-2.6.23/005-rdc_x86_cpu_type.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-28 11:06:32 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-28 11:06:32 +0000
commitbe07fabdd80da56125283caf3938b01d01e3b23e (patch)
treee6269f94b21d6d6e8d208b55f98cae7c23847a48 /target/linux/rdc/patches-2.6.23/005-rdc_x86_cpu_type.patch
parente2a5cd999c401b7c6ef69db6df118eece9fecf3a (diff)
Put back 2.6.23 files for rdc, allowing to switch from one kernel version to another for testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11592 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc/patches-2.6.23/005-rdc_x86_cpu_type.patch')
-rw-r--r--target/linux/rdc/patches-2.6.23/005-rdc_x86_cpu_type.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/rdc/patches-2.6.23/005-rdc_x86_cpu_type.patch b/target/linux/rdc/patches-2.6.23/005-rdc_x86_cpu_type.patch
new file mode 100644
index 000000000..9e0eefb09
--- /dev/null
+++ b/target/linux/rdc/patches-2.6.23/005-rdc_x86_cpu_type.patch
@@ -0,0 +1,22 @@
+diff -urN linux-2.6.22.1/arch/i386/kernel/cpu/Makefile linux-2.6.22.1.new/arch/i386/kernel/cpu/Makefile
+--- linux-2.6.22.1/arch/i386/kernel/cpu/Makefile 2007-08-11 22:16:24.000000000 +0200
++++ linux-2.6.22.1.new/arch/i386/kernel/cpu/Makefile 2007-08-13 16:37:32.000000000 +0200
+@@ -12,6 +12,7 @@
+ obj-y += rise.o
+ obj-y += nexgen.o
+ obj-y += umc.o
++obj-$(CONFIG_X86_RDC) += rdc.o
+
+ obj-$(CONFIG_X86_MCE) += mcheck/
+
+diff -urN linux-2.6.22.1/arch/i386/kernel/cpu/Makefile linux-2.6.22.1.new/arch/i386/kernel/cpu/Makefile
+--- linux-2.6.22.1/include/asm-i386/processor.h 2007-08-13 16:42:25.000000000 +0200
++++ linux-2.6.22.1.new/include/asm-i386/processor.h 2007-08-13 16:51:19.000000000 +0200
+@@ -92,6 +92,7 @@
+ #define X86_VENDOR_TRANSMETA 7
+ #define X86_VENDOR_NSC 8
+ #define X86_VENDOR_NUM 9
++#define X86_VENDOR_RDC 0xff
+ #define X86_VENDOR_UNKNOWN 0xff
+
+ /*