Commit 1eb64c07 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Linus Torvalds

sh: fix build error in mm/init.c

The closing parenthesis is missing.

Fixes: bfeb022f ("mm/memory_hotplug: add pgprot_t to mhp_params")
Signed-off-by: default avatarMasahiro Yamada <>
Signed-off-by: default avatarAndrew Morton <>
Reviewed-by: default avatarGeert Uytterhoeven <>
Reviewed-by: default avatarLogan Gunthorpe <>
Cc: Stephen Rothwell <>
Cc: Guenter Roeck <>
Cc: Yoshinori Sato <>
Cc: Rich Felker <>
Link: default avatarLinus Torvalds <>
parent ae83d0b4
......@@ -412,7 +412,7 @@ int arch_add_memory(int nid, u64 start, u64 size,
unsigned long nr_pages = size >> PAGE_SHIFT;
int ret;
if (WARN_ON_ONCE(params->pgprot.pgprot != PAGE_KERNEL.pgprot)
if (WARN_ON_ONCE(params->pgprot.pgprot != PAGE_KERNEL.pgprot))
return -EINVAL;
/* We only have ZONE_NORMAL, so this is easy.. */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment