From: Heiko Carstens Date: Mon, 24 Jul 2023 15:20:29 +0000 (+0200) Subject: s390/pfault: use early_param() instead if __setup() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=28254f36e2944a501e8bf440193e5c4f910cf10d;p=linux.git 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 Signed-off-by: Heiko Carstens --- diff --git a/arch/s390/mm/pfault.c b/arch/s390/mm/pfault.c index e1c8cc14575d1..64cc42d37c8bf 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;