diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2022-04-29 21:22:24 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2022-04-29 21:22:24 -0400 |
commit | e5a5b64c61de0b687b465fb19d8f0208df7cc14e (patch) | |
tree | 00d8967a3cf7506e37d969e484a200b68c63b2c8 /linux/patches/intel.c.patch | |
parent | 700a1b10b3a9d021b6a02d0f837ddfde52578634 (diff) |
add complete build system
Diffstat (limited to 'linux/patches/intel.c.patch')
-rw-r--r-- | linux/patches/intel.c.patch | 26 |
1 files changed, 26 insertions, 0 deletions
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" }, |