Skip to content
Commit f322980b authored by Liam R. Howlett's avatar Liam R. Howlett Committed by David S. Miller
Browse files

sparc/mm/hugepages: Fix setup_hugepagesz for invalid values.



hugetlb_bad_size needs to be called on invalid values.  Also change the
pr_warn to a pr_err to better align with other platforms.

Signed-off-by: default avatarLiam R. Howlett <Liam.Howlett@Oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c982aa9c
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