mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 07:30:06 -04:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user