diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-07-24 17:20:29 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2023-07-29 14:57:18 +0200 |
commit | 28254f36e2944a501e8bf440193e5c4f910cf10d (patch) | |
tree | 190ad269c08ef6e72f4a1d2c4e46e0fd560bae5f /arch/s390/mm/pfault.c | |
parent | c5b6eef58f88810b8e641d8d32d24041fa20e016 (diff) |
s390/pfault: use early_param() instead if __setup()
early_param() is the standard way of defining early kernel command
line parameters. Use that instead of the old __setup() variant.
Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/mm/pfault.c')
-rw-r--r-- | arch/s390/mm/pfault.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/mm/pfault.c b/arch/s390/mm/pfault.c index e1c8cc14575d..64cc42d37c8b 100644 --- a/arch/s390/mm/pfault.c +++ b/arch/s390/mm/pfault.c @@ -25,8 +25,7 @@ static int __init nopfault(char *str) pfault_disable = 1; return 1; } - -__setup("nopfault", nopfault); +early_param("nopfault", nopfault); struct pfault_refbk { u16 refdiagc; |