Skip to content

Commit 28254f3

Browse files
committed
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>
1 parent c5b6eef commit 28254f3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

arch/s390/mm/pfault.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ static int __init nopfault(char *str)
2525
pfault_disable = 1;
2626
return 1;
2727
}
28-
29-
__setup("nopfault", nopfault);
28+
early_param("nopfault", nopfault);
3029

3130
struct pfault_refbk {
3231
u16 refdiagc;

0 commit comments

Comments
 (0)