diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2012-05-25 21:20:19 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-27 23:52:51 -0700 |
commit | 805918f80fb11d95e9b117a6faf5a6a7a8339e49 (patch) | |
tree | 69d2795cf73d3ad67ddc21618f2842b18efa9780 /arch/sparc/include/asm/pgtsrmmu.h | |
parent | b0acd2495e2a7f2655b9d4c761bd09e6dd05fbc4 (diff) | |
download | blackbird-obmc-linux-805918f80fb11d95e9b117a6faf5a6a7a8339e49.tar.gz blackbird-obmc-linux-805918f80fb11d95e9b117a6faf5a6a7a8339e49.zip |
sparc32: srmmu_probe now knows about leon too
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Daniel Hellstrom <daniel@gaisler.com>
Cc: Konrad Eisele <konrad@gaisler.com>
Diffstat (limited to 'arch/sparc/include/asm/pgtsrmmu.h')
-rw-r--r-- | arch/sparc/include/asm/pgtsrmmu.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/sparc/include/asm/pgtsrmmu.h b/arch/sparc/include/asm/pgtsrmmu.h index 72f71214ef87..79da17866fa8 100644 --- a/arch/sparc/include/asm/pgtsrmmu.h +++ b/arch/sparc/include/asm/pgtsrmmu.h @@ -166,23 +166,6 @@ static inline void srmmu_flush_whole_tlb(void) } -/* These flush types are not available on all chips... */ -#ifndef CONFIG_SPARC_LEON -static inline unsigned long srmmu_hwprobe(unsigned long vaddr) -{ - unsigned long retval; - - vaddr &= PAGE_MASK; - __asm__ __volatile__("lda [%1] %2, %0\n\t" : - "=r" (retval) : - "r" (vaddr | 0x400), "i" (ASI_M_FLUSH_PROBE)); - - return retval; -} -#else -#define srmmu_hwprobe(addr) srmmu_swprobe(addr, 0) -#endif - static inline int srmmu_get_pte (unsigned long addr) { |