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>
This commit is contained in:
Heiko Carstens
2023-07-24 17:20:29 +02:00
parent c5b6eef58f
commit 28254f36e2

View File

@@ -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;