diff options
author | Justin M. Forbes <jforbes@fedoraproject.org> | 2020-10-07 09:54:44 -0500 |
---|---|---|
committer | Justin M. Forbes <jforbes@fedoraproject.org> | 2020-10-07 09:54:44 -0500 |
commit | f7a55ba381de17d8e5511a97441944b797aa62a5 (patch) | |
tree | df2cb85063e94e396b776ea25c0e4b5f9f286c39 /0001-x86-Fix-compile-issues-with-rh_check_supported.patch | |
parent | 5f7d08ee5f8b230f5dfb20783ec265ef40387520 (diff) | |
download | kernel-f7a55ba381de17d8e5511a97441944b797aa62a5.tar.gz kernel-f7a55ba381de17d8e5511a97441944b797aa62a5.tar.xz kernel-f7a55ba381de17d8e5511a97441944b797aa62a5.zip |
kernel-5.9.0-0.rc8.20201007git7575fdda569b.29
* Wed Oct 07 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.9.0-0.rc8.20201007git7575fdda569b.29]
- Merge ark-patches
Resolves: rhbz#
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
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.patch | 61 |
1 files changed, 0 insertions, 61 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 deleted file mode 100644 index 257f12520..000000000 --- a/0001-x86-Fix-compile-issues-with-rh_check_supported.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Don Zickus <dzickus@redhat.com> -Date: Thu, 14 May 2020 10:30:51 -0400 -Subject: [PATCH] x86: Fix compile issues with rh_check_supported() - -Upstream status: RHEL only - -The function rh_check_supported is a RHEL function to limit the -platforms RHEL does not want to support. - -To avoid imposing this requirement on Fedora, the function was -wrapped with CONFIG_RHEL_DIFFERENCES so Fedora can disable this. - -However, this has a few compile warnings that need to be cleaned up -when disabled. - -Move CONFIG_RHEL_DIFFERENCES to include the functions themselves -instead of the call. As the unused functions created warnings. - -V2: modified stub definition - -Signed-off-by: Don Zickus <dzickus@redhat.com> ---- - arch/x86/kernel/setup.c | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c -index b57e6dd6d7ef..66441cb9c1af 100644 ---- a/arch/x86/kernel/setup.c -+++ b/arch/x86/kernel/setup.c -@@ -757,6 +757,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) - { - bool valid; -@@ -881,6 +882,9 @@ static void rh_check_supported(void) - if (acpi_disabled && !guest) - pr_crit("ACPI has been disabled or is not available on this hardware. This may result in a single cpu boot, incorrect PCI IRQ routing, or boot failure.\n"); - } -+#else -+#define rh_check_supported() -+#endif - - /* - * Dump out kernel offset information on panic. -@@ -1371,9 +1375,7 @@ void __init setup_arch(char **cmdline_p) - efi_apply_memmap_quirks(); - #endif - --#ifdef CONFIG_RHEL_DIFFERENCES - rh_check_supported(); --#endif - - unwind_init(); - } --- -2.28.0 - |