aboutsummaryrefslogtreecommitdiffstats
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2021-09-29 12:54:04 +0000
committerWill Deacon <[email protected]>2021-09-29 12:54:04 +0000
commite63cf610ead18d5f8df0739a36cba57ccba43f6b (patch)
tree99b21842b901edb08a0ad5c49f97c4046cae491a /lib/memory-notifier-error-inject.c
parentLinux 5.15-rc3 (diff)
downloadkernel-e63cf610ead18d5f8df0739a36cba57ccba43f6b.tar.gz
kernel-e63cf610ead18d5f8df0739a36cba57ccba43f6b.zip
arm64: mm: Drop pointless call to set_max_mapnr()
set_max_mapnr() is an empty stub function if CONFIG_NUMA=y, otherwise it assigns to the 'max_mapnr' variable which is used to provide a generic pfn_valid() implementation if CONFIG_MMU=n. Since we don't support nommu on arm64, drop the pointless call to set_max_mapnr() from mem_init(). Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions