diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2005-09-19 20:11:57 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-09-19 20:11:57 -0700 |
commit | 6a9b490d5fd7f23c5bcd75f970e01633ad3136e3 (patch) | |
tree | dd3ad10d43a5dd765705f32ff1fca6fc1bab88fd /include/asm-sparc64/cacheflush.h | |
parent | e0487992ce1dd7ae7da9c6aabdb19570bb95432b (diff) | |
download | lwn-6a9b490d5fd7f23c5bcd75f970e01633ad3136e3.tar.gz lwn-6a9b490d5fd7f23c5bcd75f970e01633ad3136e3.zip |
[SPARC64]: Move DCACHE_ALIASING_POSSIBLE define to asm/page.h
This showed that arch/sparc64/kernel/ptrace.c was not getting
the define properly, and thus the code protected by this ifdef
was never actually compiled before. So fix that too.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64/cacheflush.h')
-rw-r--r-- | include/asm-sparc64/cacheflush.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-sparc64/cacheflush.h b/include/asm-sparc64/cacheflush.h index 51b26e81d828..ededd2659eab 100644 --- a/include/asm-sparc64/cacheflush.h +++ b/include/asm-sparc64/cacheflush.h @@ -4,13 +4,6 @@ #include <linux/config.h> #include <asm/page.h> -/* Flushing for D-cache alias handling is only needed if - * the page size is smaller than 16K. - */ -#if PAGE_SHIFT < 14 -#define DCACHE_ALIASING_POSSIBLE -#endif - #ifndef __ASSEMBLY__ #include <linux/mm.h> |