summaryrefslogtreecommitdiffstats
path: root/0001-x86-Fix-compile-issues-with-rh_check_supported.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-x86-Fix-compile-issues-with-rh_check_supported.patch')
-rw-r--r--0001-x86-Fix-compile-issues-with-rh_check_supported.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/0001-x86-Fix-compile-issues-with-rh_check_supported.patch b/0001-x86-Fix-compile-issues-with-rh_check_supported.patch
index 057e95738..f3d7a3c8e 100644
--- a/0001-x86-Fix-compile-issues-with-rh_check_supported.patch
+++ b/0001-x86-Fix-compile-issues-with-rh_check_supported.patch
@@ -31,7 +31,7 @@ index e677bb144835..6d31895c8e92 100644
@@ -756,6 +756,7 @@ static void __init trim_low_memory_range(void)
memblock_reserve(0, ALIGN(reserve_low, PAGE_SIZE));
}
-
+
+#ifdef CONFIG_RHEL_DIFFERENCES
static bool valid_amd_processor(__u8 family, const char *model_id)
{
@@ -43,19 +43,19 @@ index e677bb144835..6d31895c8e92 100644
+#else
+#define rh_check_supported()
+#endif
-
+
/*
* Dump out kernel offset information on panic.
@@ -1372,9 +1376,7 @@ void __init setup_arch(char **cmdline_p)
efi_apply_memmap_quirks();
#endif
-
+
-#ifdef CONFIG_RHEL_DIFFERENCES
rh_check_supported();
-#endif
-
+
unwind_init();
}
--
-2.26.2
+2.25.4