summaryrefslogtreecommitdiffstats
path: root/0001-Add-support-for-deprecating-processors.patch
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2020-06-29 20:59:56 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2020-06-29 20:59:56 +0200
commit7b32641801900ee7e32065b436d7318c5d7a972e (patch)
tree7e1f1ffca46787c5ba55af0a2fc9767f9c6e5594 /0001-Add-support-for-deprecating-processors.patch
parent506260a3258dfcbd81c9c8b2f051b9c515ad6071 (diff)
parent61b5e2fd06a4be7134afb1cd363002e015123f7f (diff)
downloadkernel-7b32641801900ee7e32065b436d7318c5d7a972e.tar.gz
kernel-7b32641801900ee7e32065b436d7318c5d7a972e.tar.xz
kernel-7b32641801900ee7e32065b436d7318c5d7a972e.zip
Diffstat (limited to '0001-Add-support-for-deprecating-processors.patch')
-rw-r--r--0001-Add-support-for-deprecating-processors.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/0001-Add-support-for-deprecating-processors.patch b/0001-Add-support-for-deprecating-processors.patch
index 420f6f6f6..11cb58f68 100644
--- a/0001-Add-support-for-deprecating-processors.patch
+++ b/0001-Add-support-for-deprecating-processors.patch
@@ -130,7 +130,7 @@ Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
2 files changed, 132 insertions(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
-index 043d93cdcaad..178813fea2ec 100644
+index 95c090a45b4b..bcc6d2df56c0 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -1236,6 +1236,7 @@ static void __init early_identify_cpu(struct cpuinfo_x86 *c)
@@ -140,7 +140,7 @@ index 043d93cdcaad..178813fea2ec 100644
+ get_model_name(c); /* RHEL: get model name for unsupported check */
get_cpu_address_sizes(c);
setup_force_cpu_cap(X86_FEATURE_CPUID);
-
+
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index a3767e74c758..a1b8cb9a2579 100644
--- a/arch/x86/kernel/setup.c
@@ -150,7 +150,7 @@ index a3767e74c758..a1b8cb9a2579 100644
#include <asm/vsyscall.h>
#include <linux/vmalloc.h>
+#include <asm/intel-family.h>
-
+
/*
* max_low_pfn_mapped: highest directly mapped pfn < 4 GB
@@ -753,7 +754,132 @@ static void __init trim_low_memory_range(void)
@@ -290,14 +290,14 @@ index a3767e74c758..a1b8cb9a2579 100644
@@ -1250,6 +1376,10 @@ void __init setup_arch(char **cmdline_p)
efi_apply_memmap_quirks();
#endif
-
+
+#ifdef CONFIG_RH_DISABLE_DEPRECATED
+ rh_check_supported();
+#endif
+
unwind_init();
}
-
+
--
-2.26.2
+2.25.4