From e5a5b64c61de0b687b465fb19d8f0208df7cc14e Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 29 Apr 2022 21:22:24 -0400 Subject: add complete build system --- linux/patches/intel.c.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 linux/patches/intel.c.patch (limited to 'linux/patches/intel.c.patch') diff --git a/linux/patches/intel.c.patch b/linux/patches/intel.c.patch new file mode 100644 index 0000000..19f73c4 --- /dev/null +++ b/linux/patches/intel.c.patch @@ -0,0 +1,26 @@ +--- arch/x86/kernel/cpu/intel.c.new 2022-04-21 10:30:16.303395343 -0400 ++++ arch/x86/kernel/cpu/intel.c 2022-04-21 10:31:18.648938081 -0400 +@@ -752,6 +752,8 @@ + } + #endif + ++#ifndef CONFIG_M486 ++ + #define TLB_INST_4K 0x01 + #define TLB_INST_4M 0x02 + #define TLB_INST_2M_4M 0x03 +@@ -926,6 +928,14 @@ + } + } + ++#else ++ ++static void intel_detect_tlb(struct cpuinfo_x86 *c) ++{ ++} ++ ++#endif // CONFIG_M486 ++ + static const struct cpu_dev intel_cpu_dev = { + .c_vendor = "Intel", + .c_ident = { "GenuineIntel" }, -- cgit v1.2.3