summaryrefslogtreecommitdiffstats
path: root/kernel/arch/x86/include/asm/cpu_device_id.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/x86/include/asm/cpu_device_id.h')
-rw-r--r--kernel/arch/x86/include/asm/cpu_device_id.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/arch/x86/include/asm/cpu_device_id.h b/kernel/arch/x86/include/asm/cpu_device_id.h
new file mode 100644
index 000000000..ff501e511
--- /dev/null
+++ b/kernel/arch/x86/include/asm/cpu_device_id.h
@@ -0,0 +1,13 @@
+#ifndef _CPU_DEVICE_ID
+#define _CPU_DEVICE_ID 1
+
+/*
+ * Declare drivers belonging to specific x86 CPUs
+ * Similar in spirit to pci_device_id and related PCI functions
+ */
+
+#include <linux/mod_devicetable.h>
+
+extern const struct x86_cpu_id *x86_match_cpu(const struct x86_cpu_id *match);
+
+#endif