|
|
1f73373 |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
Jeremy Cline |
d1b6f8c |
From: Don Zickus <dzickus@redhat.com>
|
|
Jeremy Cline |
d1b6f8c |
Date: Tue, 3 Mar 2020 09:35:28 -0500
|
|
Jeremy Cline |
d1b6f8c |
Subject: [PATCH] Rename RH_DISABLE_DEPRECATED to RHEL_DIFFERENCES
|
|
Jeremy Cline |
d1b6f8c |
|
|
Jeremy Cline |
d1b6f8c |
The intent of RH_DISABLE_DEPRECATED was to provide Red Hat a
|
|
Jeremy Cline |
d1b6f8c |
simple way to disable drivers it did not want to support in RHEL.
|
|
Jeremy Cline |
d1b6f8c |
|
|
Jeremy Cline |
d1b6f8c |
As the config option was applied to more drivers and infra, it became
|
|
Jeremy Cline |
d1b6f8c |
clear the option was being used for not only deprecating drivers (which
|
|
Jeremy Cline |
d1b6f8c |
implied limited support) to disabling drivers (implying no support).
|
|
Jeremy Cline |
d1b6f8c |
|
|
Jeremy Cline |
d1b6f8c |
Using the word 'deprecated' seemed confusing in the second scenario.
|
|
Jeremy Cline |
d1b6f8c |
Rename the option to be more generic and useable across more parts
|
|
Jeremy Cline |
d1b6f8c |
of the kernel tree.
|
|
Jeremy Cline |
d1b6f8c |
|
|
Jeremy Cline |
d1b6f8c |
The new wording is RHEL_DIFFERENCES.
|
|
Jeremy Cline |
d1b6f8c |
|
|
Jeremy Cline |
d1b6f8c |
Upstream Status: RHEL only
|
|
Jeremy Cline |
d1b6f8c |
---
|
|
Jeremy Cline |
d1b6f8c |
Kconfig.redhat | 2 +-
|
|
Jeremy Cline |
d1b6f8c |
arch/x86/kernel/setup.c | 2 +-
|
|
Jeremy Cline |
d1b6f8c |
include/linux/kernel.h | 2 +-
|
|
Jeremy Cline |
d1b6f8c |
kernel/Makefile | 2 +-
|
|
Jeremy Cline |
d1b6f8c |
4 files changed, 4 insertions(+), 4 deletions(-)
|
|
Jeremy Cline |
d1b6f8c |
|
|
Jeremy Cline |
d1b6f8c |
diff --git a/Kconfig.redhat b/Kconfig.redhat
|
|
Jeremy Cline |
d1b6f8c |
index 733a26bd887a..effb81d04bfd 100644
|
|
Jeremy Cline |
d1b6f8c |
--- a/Kconfig.redhat
|
|
Jeremy Cline |
d1b6f8c |
+++ b/Kconfig.redhat
|
|
Jeremy Cline |
d1b6f8c |
@@ -5,7 +5,7 @@
|
|
|
6c2cc50 |
|
|
Jeremy Cline |
d1b6f8c |
menu "Red Hat options"
|
|
|
6c2cc50 |
|
|
Jeremy Cline |
d1b6f8c |
-config RH_DISABLE_DEPRECATED
|
|
Jeremy Cline |
d1b6f8c |
+config RHEL_DIFFERENCES
|
|
Jeremy Cline |
d1b6f8c |
bool "Remove support for deprecated features"
|
|
Jeremy Cline |
d1b6f8c |
help
|
|
Jeremy Cline |
d1b6f8c |
Red Hat may choose to deprecate certain features in its kernels.
|
|
Jeremy Cline |
d1b6f8c |
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
|
|
|
fa1dee0 |
index 19d57bfc12f9..e677bb144835 100644
|
|
Jeremy Cline |
d1b6f8c |
--- a/arch/x86/kernel/setup.c
|
|
Jeremy Cline |
d1b6f8c |
+++ b/arch/x86/kernel/setup.c
|
|
|
fa1dee0 |
@@ -1372,7 +1372,7 @@ void __init setup_arch(char **cmdline_p)
|
|
Jeremy Cline |
d1b6f8c |
efi_apply_memmap_quirks();
|
|
Jeremy Cline |
d1b6f8c |
#endif
|
|
|
6c2cc50 |
|
|
Jeremy Cline |
d1b6f8c |
-#ifdef CONFIG_RH_DISABLE_DEPRECATED
|
|
Jeremy Cline |
d1b6f8c |
+#ifdef CONFIG_RHEL_DIFFERENCES
|
|
Jeremy Cline |
d1b6f8c |
rh_check_supported();
|
|
Jeremy Cline |
d1b6f8c |
#endif
|
|
|
6c2cc50 |
|
|
Jeremy Cline |
d1b6f8c |
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
|
|
|
fb49733 |
index 0a0081b10edb..cfaaa6a234d4 100644
|
|
Jeremy Cline |
d1b6f8c |
--- a/include/linux/kernel.h
|
|
Jeremy Cline |
d1b6f8c |
+++ b/include/linux/kernel.h
|
|
|
fb49733 |
@@ -1058,7 +1058,7 @@ static inline void ftrace_dump(enum ftrace_dump_mode oops_dump_mode) { }
|
|
|
6c2cc50 |
|
|
Jeremy Cline |
d1b6f8c |
struct module;
|
|
|
6c2cc50 |
|
|
Jeremy Cline |
d1b6f8c |
-#ifdef CONFIG_RH_DISABLE_DEPRECATED
|
|
Jeremy Cline |
d1b6f8c |
+#ifdef CONFIG_RHEL_DIFFERENCES
|
|
Jeremy Cline |
d1b6f8c |
void mark_hardware_unsupported(const char *msg);
|
|
Jeremy Cline |
d1b6f8c |
void mark_hardware_deprecated(const char *msg);
|
|
Jeremy Cline |
d1b6f8c |
void mark_tech_preview(const char *msg, struct module *mod);
|
|
Jeremy Cline |
d1b6f8c |
diff --git a/kernel/Makefile b/kernel/Makefile
|
|
|
dc4f070 |
index c0a4904413b5..1a0c362cddfb 100644
|
|
Jeremy Cline |
d1b6f8c |
--- a/kernel/Makefile
|
|
Jeremy Cline |
d1b6f8c |
+++ b/kernel/Makefile
|
|
Jeremy Cline |
d1b6f8c |
@@ -12,7 +12,7 @@ obj-y = fork.o exec_domain.o panic.o \
|
|
Jeremy Cline |
d1b6f8c |
notifier.o ksysfs.o cred.o reboot.o \
|
|
Jeremy Cline |
d1b6f8c |
async.o range.o smpboot.o ucount.o
|
|
|
6c2cc50 |
|
|
Jeremy Cline |
d1b6f8c |
-obj-$(CONFIG_RH_DISABLE_DEPRECATED) += rh_taint.o
|
|
Jeremy Cline |
d1b6f8c |
+obj-$(CONFIG_RHEL_DIFFERENCES) += rh_taint.o
|
|
|
6c2cc50 |
|
|
Jeremy Cline |
d1b6f8c |
obj-$(CONFIG_MODULES) += kmod.o
|
|
Jeremy Cline |
d1b6f8c |
obj-$(CONFIG_MULTIUSER) += groups.o
|
|
Jeremy Cline |
d1b6f8c |
--
|
|
|
6c2cc50 |
2.26.2
|
|
Jeremy Cline |
d1b6f8c |
|