diff options
Diffstat (limited to 'include/asm-m68k/tlbflush.h')
-rw-r--r-- | include/asm-m68k/tlbflush.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-m68k/tlbflush.h b/include/asm-m68k/tlbflush.h index 17707ec315e2..acb6bf21a321 100644 --- a/include/asm-m68k/tlbflush.h +++ b/include/asm-m68k/tlbflush.h | |||
@@ -16,7 +16,7 @@ static inline void flush_tlb_kernel_page(void *addr) | |||
16 | ".chip 68k" | 16 | ".chip 68k" |
17 | : : "a" (addr)); | 17 | : : "a" (addr)); |
18 | set_fs(old_fs); | 18 | set_fs(old_fs); |
19 | } else | 19 | } else if (CPU_IS_020_OR_030) |
20 | __asm__ __volatile__("pflush #4,#4,(%0)" : : "a" (addr)); | 20 | __asm__ __volatile__("pflush #4,#4,(%0)" : : "a" (addr)); |
21 | } | 21 | } |
22 | 22 | ||
@@ -29,7 +29,7 @@ static inline void __flush_tlb(void) | |||
29 | __asm__ __volatile__(".chip 68040\n\t" | 29 | __asm__ __volatile__(".chip 68040\n\t" |
30 | "pflushan\n\t" | 30 | "pflushan\n\t" |
31 | ".chip 68k"); | 31 | ".chip 68k"); |
32 | else | 32 | else if (CPU_IS_020_OR_030) |
33 | __asm__ __volatile__("pflush #0,#4"); | 33 | __asm__ __volatile__("pflush #0,#4"); |
34 | } | 34 | } |
35 | 35 | ||
@@ -45,7 +45,7 @@ static inline void __flush_tlb_one(unsigned long addr) | |||
45 | { | 45 | { |
46 | if (CPU_IS_040_OR_060) | 46 | if (CPU_IS_040_OR_060) |
47 | __flush_tlb040_one(addr); | 47 | __flush_tlb040_one(addr); |
48 | else | 48 | else if (CPU_IS_020_OR_030) |
49 | __asm__ __volatile__("pflush #0,#4,(%0)" : : "a" (addr)); | 49 | __asm__ __volatile__("pflush #0,#4,(%0)" : : "a" (addr)); |
50 | } | 50 | } |
51 | 51 | ||
@@ -60,7 +60,7 @@ static inline void flush_tlb_all(void) | |||
60 | __asm__ __volatile__(".chip 68040\n\t" | 60 | __asm__ __volatile__(".chip 68040\n\t" |
61 | "pflusha\n\t" | 61 | "pflusha\n\t" |
62 | ".chip 68k"); | 62 | ".chip 68k"); |
63 | else | 63 | else if (CPU_IS_020_OR_030) |
64 | __asm__ __volatile__("pflusha"); | 64 | __asm__ __volatile__("pflusha"); |
65 | } | 65 | } |
66 | 66 | ||