projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5b6eef
)
s390/pfault: use early_param() instead if __setup()
author
Heiko Carstens
<hca@linux.ibm.com>
Mon, 24 Jul 2023 15:20:29 +0000
(17:20 +0200)
committer
Heiko Carstens
<hca@linux.ibm.com>
Sat, 29 Jul 2023 12:57:18 +0000
(14:57 +0200)
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>
arch/s390/mm/pfault.c
patch
|
blob
|
history
diff --git
a/arch/s390/mm/pfault.c
b/arch/s390/mm/pfault.c
index e1c8cc14575d1d4375323e6bd9636990feb7417e..64cc42d37c8bfb4d71a6e42659c6839b46186ff4 100644
(file)
--- 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;