diff options
author | David S. Miller <davem@nuts.davemloft.net> | 2004-08-11 01:08:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-11 01:08:15 -0700 |
commit | 44f8e965cc9fa76e0b85550fc9e190836cebfceb (patch) | |
tree | ec6123fcf12310ac85d021bb4d4489bab97284d4 /arch | |
parent | 198419338436b55009df7d23be7a1a554b5baf74 (diff) | |
download | history-44f8e965cc9fa76e0b85550fc9e190836cebfceb.tar.gz |
[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: David S. Miller <davem@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc64/mm/tlb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/mm/tlb.c b/arch/sparc64/mm/tlb.c index 11a5078182c460..e2d79fc14aa488 100644 --- a/arch/sparc64/mm/tlb.c +++ b/arch/sparc64/mm/tlb.c @@ -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); |