Rename RH_DISABLE_DEPRECATED to RHEL_DIFFERENCES

The intent of RH_DISABLE_DEPRECATED was to provide Red Hat a
simple way to disable drivers it did not want to support in RHEL.

As the config option was applied to more drivers and infra, it became
clear the option was being used for not only deprecating drivers (which
implied limited support) to disabling drivers (implying no support).

Using the word 'deprecated' seemed confusing in the second scenario.
Rename the option to be more generic and useable across more parts
of the kernel tree.

The new wording is RHEL_DIFFERENCES.

Upstream Status: RHEL only
This commit is contained in:
Don Zickus 2020-03-03 09:35:28 -05:00 committed by Justin M. Forbes
parent 8f1ee2689a
commit b8095d7e8c
No known key found for this signature in database
GPG Key ID: B8FA7924A4B1C140
4 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@
menu "Red Hat options"
config RH_DISABLE_DEPRECATED
config RHEL_DIFFERENCES
bool "Remove support for deprecated features"
help
Red Hat may choose to deprecate certain features in its kernels.

View File

@ -1341,7 +1341,7 @@ void __init setup_arch(char **cmdline_p)
efi_apply_memmap_quirks();
#endif
#ifdef CONFIG_RH_DISABLE_DEPRECATED
#ifdef CONFIG_RHEL_DIFFERENCES
rh_check_supported();
#endif

View File

@ -533,7 +533,7 @@ static inline void ftrace_dump(enum ftrace_dump_mode oops_dump_mode) { }
struct module;
#ifdef CONFIG_RH_DISABLE_DEPRECATED
#ifdef CONFIG_RHEL_DIFFERENCES
void mark_hardware_unsupported(const char *msg);
void mark_hardware_deprecated(const char *msg);
void mark_tech_preview(const char *msg, struct module *mod);

View File

@ -13,6 +13,7 @@ obj-y = fork.o exec_domain.o panic.o \
async.o range.o smpboot.o ucount.o regset.o
obj-$(CONFIG_RH_DISABLE_DEPRECATED) += rh_taint.o
obj-$(CONFIG_RHEL_DIFFERENCES) += rh_taint.o
obj-$(CONFIG_USERMODE_DRIVER) += usermode_driver.o
obj-$(CONFIG_MODULES) += kmod.o
obj-$(CONFIG_MULTIUSER) += groups.o