aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMike Kravetz <[email protected]>2020-06-03 16:00:50 -0700
committerLinus Torvalds <[email protected]>2020-06-03 20:09:46 -0700
commitc2833a5bf75b3657c4dd20b3709c8c702754cb1f (patch)
treed44de99a5e889c226ac8c84d6313fd6f733e71ac /scripts/gdb/linux/utils.py
parent282f4214384ee2e2ca39b2532a5296fddf762518 (diff)
hugetlbfs: fix changes to command line processing
Previously, a check for hugepages_supported was added before processing hugetlb command line parameters. On some architectures such as powerpc, hugepages_supported() is not set to true until after command line processing. Therefore, no hugetlb command line parameters would be accepted. Remove the additional checks for hugepages_supported. In hugetlb_init, print a warning if !hugepages_supported and command line parameters were specified. Reported-by: Sandipan Das <[email protected]> Signed-off-by: Mike Kravetz <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: Stephen Rothwell <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions