summaryrefslogtreecommitdiff
path: root/target/linux/rdc/files-2.6.24/arch/i386/kernel/cpu/rdc.c
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-24 12:30:01 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-24 12:30:01 +0000
commit6cd181f2e0eef12dfbfc2e0ecb294e2f0ad7a738 (patch)
tree81d26725763dd45d58d0eaf5aa41a514d0edcf6c /target/linux/rdc/files-2.6.24/arch/i386/kernel/cpu/rdc.c
parentfbe565e125528a2c5fe048dba633356df00c661c (diff)
[rdc] move files to files-2.6.24, not required with newer kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15380 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc/files-2.6.24/arch/i386/kernel/cpu/rdc.c')
-rw-r--r--target/linux/rdc/files-2.6.24/arch/i386/kernel/cpu/rdc.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/rdc/files-2.6.24/arch/i386/kernel/cpu/rdc.c b/target/linux/rdc/files-2.6.24/arch/i386/kernel/cpu/rdc.c
new file mode 100644
index 0000000000..f4b9083bfc
--- /dev/null
+++ b/target/linux/rdc/files-2.6.24/arch/i386/kernel/cpu/rdc.c
@@ -0,0 +1,24 @@
+#include <linux/init.h>
+#include <linux/bitops.h>
+#include <linux/mm.h>
+#include <asm/io.h>
+#include <asm/processor.h>
+
+#include "cpu.h"
+
+static struct cpu_dev rdc_cpu_dev __cpuinitdata = {
+ .c_vendor = "RDC",
+ .c_models = {
+ { .vendor = X86_VENDOR_RDC, .family = 4, .model_names =
+ {
+ [0] = "R861x(-G)",
+ }
+ },
+ },
+};
+
+int __init rdc_init_cpu(void)
+{
+ cpu_devs[X86_VENDOR_RDC] = &rdc_cpu_dev;
+ return 0;
+}