Commit 44f8e965 authored by David S. Miller's avatar David S. Miller Committed by Linus Torvalds

[SPARC64]: Kill swapper_space test in arch/sparc64/mm/tlb.c

It is bogus, plus it breaks the build with
CONFIG_SWAP disabled.

Based upon a patch from Ben Collins (bcollins@debian.org)
Signed-off-by: default avatarDavid S. Miller <davem@redhat.com>
parent 19841933
......@@ -76,7 +76,7 @@ void tlb_batch_add(pte_t *ptep, pte_t orig)
/* A real file page? */
mapping = page_mapping(page);
if (!mapping || mapping == &swapper_space)
if (!mapping)
goto no_cache_flush;
paddr = (unsigned long) page_address(page);
......
Markdown is supported
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