aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBaoquan He <[email protected]>2020-03-11 01:18:23 +0000
committerBorislav Petkov <[email protected]>2020-03-17 18:12:39 +0000
commitaa61ee7b9ee3cb84c0d3a842b0d17937bf024c46 (patch)
tree921d4f26b6e823b0074a7f100314ee4b2253c532 /tools/perf/util/scripting-engines/trace-event-python.c
parentdma-mapping: Fix dma_pgprot() for unencrypted coherent pages (diff)
downloadkernel-aa61ee7b9ee3cb84c0d3a842b0d17937bf024c46.tar.gz
kernel-aa61ee7b9ee3cb84c0d3a842b0d17937bf024c46.zip
x86/mm: Remove the now redundant N_MEMORY check
In commit f70029bbaacb ("mm, memory_hotplug: drop CONFIG_MOVABLE_NODE") the dependency on CONFIG_MOVABLE_NODE was removed for N_MEMORY. Before, CONFIG_HIGHMEM && !CONFIG_MOVABLE_NODE could make (N_MEMORY == N_NORMAL_MEMORY) be true. After that commit, N_MEMORY cannot be equal to N_NORMAL_MEMORY. So the conditional check in paging_init() is not needed anymore, remove it. [ bp: Massage. ] Signed-off-by: Baoquan He <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Wei Yang <[email protected]> Acked-by: Michal Hocko <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions