.. | .. |
---|
4 | 4 | |
---|
5 | 5 | #include <linux/swap.h> |
---|
6 | 6 | #include <linux/pagemap.h> |
---|
7 | | -#include <asm/pgalloc.h> |
---|
8 | 7 | #include <asm/tlbflush.h> |
---|
9 | 8 | #include <asm/mmu_context.h> |
---|
10 | 9 | |
---|
.. | .. |
---|
28 | 27 | #define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0) |
---|
29 | 28 | #define tlb_flush(tlb) flush_tlb_pending() |
---|
30 | 29 | |
---|
| 30 | +/* |
---|
| 31 | + * SPARC64's hardware TLB fill does not use the Linux page-tables |
---|
| 32 | + * and therefore we don't need a TLBI when freeing page-table pages. |
---|
| 33 | + */ |
---|
| 34 | + |
---|
| 35 | +#ifdef CONFIG_MMU_GATHER_RCU_TABLE_FREE |
---|
| 36 | +#define tlb_needs_table_invalidate() (false) |
---|
| 37 | +#endif |
---|
| 38 | + |
---|
31 | 39 | #include <asm-generic/tlb.h> |
---|
32 | 40 | |
---|
33 | 41 | #endif /* _SPARC64_TLB_H */ |
---|