summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2023-07-24 17:20:29 +0200
committerHeiko Carstens <hca@linux.ibm.com>2023-07-29 14:57:18 +0200
commit28254f36e2944a501e8bf440193e5c4f910cf10d (patch)
tree190ad269c08ef6e72f4a1d2c4e46e0fd560bae5f /arch/s390
parentc5b6eef58f88810b8e641d8d32d24041fa20e016 (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')
-rw-r--r--arch/s390/mm/pfault.c3
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;