summaryrefslogtreecommitdiff
path: root/target/linux/rdc/files/arch/x86/kernel/cpu/rdc.c
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-06-28 11:07:07 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-06-28 11:07:07 +0000
commit310c6108cd662e1f5b65c09f41f59cb3f7aeba49 (patch)
tree99c59aedf82224b8a87d539419b5814e61b4a60a /target/linux/rdc/files/arch/x86/kernel/cpu/rdc.c
parent9e151671a9080263eaf64a3369ece974f196b481 (diff)
downloadmtk-20170518-310c6108cd662e1f5b65c09f41f59cb3f7aeba49.zip
mtk-20170518-310c6108cd662e1f5b65c09f41f59cb3f7aeba49.tar.gz
mtk-20170518-310c6108cd662e1f5b65c09f41f59cb3f7aeba49.tar.bz2
Put back 2.6.24 files as well
SVN-Revision: 11593
Diffstat (limited to 'target/linux/rdc/files/arch/x86/kernel/cpu/rdc.c')
-rw-r--r--target/linux/rdc/files/arch/x86/kernel/cpu/rdc.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/rdc/files/arch/x86/kernel/cpu/rdc.c b/target/linux/rdc/files/arch/x86/kernel/cpu/rdc.c
new file mode 100644
index 0000000..f4b9083
--- /dev/null
+++ b/target/linux/rdc/files/arch/x86/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;
+}