mirror of
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9.git
synced 2026-09-09 00:08:12 +08:00
JIRA: https://issues.redhat.com/browse/RHEL-21356 Upstream Status: ark Conflict: rt config at a different location from ark commit f71d8eae8c6d07e0239e34c7fcb92aee856b85e7 Author: Sabrina Dubroca <sdubroca@redhat.com> Date: Fri Nov 17 15:33:51 2023 +0100 redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option When the kABI macros were copied from the RHEL kernel to ARK, the RH_KABI_SIZE_ALIGN_CHECKS config option was dropped. Without it, the size checks included in some of the kABI macros can't be enabled. Add the KABI_SIZE_ALIGN_CHECKS config option, enable it on RHEL configs, and disable it for debug, rt, and zfcpdump kernels. Signed-off-by: Sabrina Dubroca <sdubroca@redhat.com> Signed-off-by: Sabrina Dubroca <sdubroca@redhat.com>
27 lines
682 B
Plaintext
27 lines
682 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Red Hat specific options
|
|
#
|
|
|
|
menu "Red Hat options"
|
|
|
|
config RHEL_DIFFERENCES
|
|
bool "Remove support for deprecated features"
|
|
help
|
|
Red Hat may choose to deprecate certain features in its kernels.
|
|
Enable this option to remove support for hardware that is no
|
|
longer supported.
|
|
|
|
Unless you want a restricted kernel, say N here.
|
|
|
|
config RH_KABI_SIZE_ALIGN_CHECKS
|
|
bool "Enables more stringent kabi checks in the macros"
|
|
depends on RHEL_DIFFERENCES
|
|
default y
|
|
help
|
|
This option enables more stringent kabi checks. Those must
|
|
be disabled in case of a debug build, because debug builds
|
|
allow to change struct sizes.
|
|
|
|
endmenu
|