diff options
author | Mike Kravetz <mike.kravetz@oracle.com> | 2020-06-04 01:00:50 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-06-04 05:09:46 +0200 |
commit | c2833a5bf75b3657c4dd20b3709c8c702754cb1f (patch) | |
tree | d44de99a5e889c226ac8c84d6313fd6f733e71ac /crypto/aes_ti.c | |
parent | hugetlbfs: clean up command line processing (diff) | |
download | linux-c2833a5bf75b3657c4dd20b3709c8c702754cb1f.tar.xz linux-c2833a5bf75b3657c4dd20b3709c8c702754cb1f.zip |
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 <sandipan.osd@gmail.com>
Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Link: http://lkml.kernel.org/r/b1f04f9f-fa46-c2a0-7693-4a0679d2a1ee@oracle.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/aes_ti.c')
0 files changed, 0 insertions, 0 deletions