forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/x86/platform/intel-quark/imr_selftest.c
....@@ -14,6 +14,8 @@
1414 #include <asm-generic/sections.h>
1515 #include <asm/cpu_device_id.h>
1616 #include <asm/imr.h>
17
+#include <asm/io.h>
18
+
1719 #include <linux/init.h>
1820 #include <linux/mm.h>
1921 #include <linux/types.h>
....@@ -103,7 +105,7 @@
103105 }
104106
105107 static const struct x86_cpu_id imr_ids[] __initconst = {
106
- { X86_VENDOR_INTEL, 5, 9 }, /* Intel Quark SoC X1000. */
108
+ X86_MATCH_VENDOR_FAM_MODEL(INTEL, 5, INTEL_FAM5_QUARK_X1000, NULL),
107109 {}
108110 };
109111