mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
powerpc: Add kconfig option for the systemcfg page
The systemcfg page through procfs is only a backwards-compatible interface for very old applications. Make it possible to be disabled. This also creates a convenient config #define to guard any accesses to the systemcfg page. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20241010-vdso-generic-base-v1-25-b64f0842d512@linutronix.de
This commit is contained in:
committed by
Thomas Gleixner
parent
e07359f171
commit
c22c06b4cc
@@ -1298,6 +1298,14 @@ config MODULES_SIZE
|
||||
|
||||
endmenu
|
||||
|
||||
config PPC64_PROC_SYSTEMCFG
|
||||
def_bool y
|
||||
depends on PPC64 && PROC_FS
|
||||
help
|
||||
This option enables the presence of /proc/ppc64/systemcfg through
|
||||
which the systemcfg page can be accessed.
|
||||
This interface only exists for backwards-compatibility.
|
||||
|
||||
if PPC64
|
||||
# This value must have zeroes in the bottom 60 bits otherwise lots will break
|
||||
config PAGE_OFFSET
|
||||
|
||||
Reference in New Issue
Block a user