diff options
Diffstat (limited to 'include/asm-xtensa')
-rw-r--r-- | include/asm-xtensa/bitops.h | 4 | ||||
-rw-r--r-- | include/asm-xtensa/tlbflush.h | 11 |
2 files changed, 4 insertions, 11 deletions
diff --git a/include/asm-xtensa/bitops.h b/include/asm-xtensa/bitops.h index 78db04cf6e48..23261e8f2e5a 100644 --- a/include/asm-xtensa/bitops.h +++ b/include/asm-xtensa/bitops.h | |||
@@ -15,6 +15,10 @@ | |||
15 | 15 | ||
16 | #ifdef __KERNEL__ | 16 | #ifdef __KERNEL__ |
17 | 17 | ||
18 | #ifndef _LINUX_BITOPS_H | ||
19 | #error only <linux/bitops.h> can be included directly | ||
20 | #endif | ||
21 | |||
18 | #include <asm/processor.h> | 22 | #include <asm/processor.h> |
19 | #include <asm/byteorder.h> | 23 | #include <asm/byteorder.h> |
20 | #include <asm/system.h> | 24 | #include <asm/system.h> |
diff --git a/include/asm-xtensa/tlbflush.h b/include/asm-xtensa/tlbflush.h index 7c637b3c352c..46d240074f74 100644 --- a/include/asm-xtensa/tlbflush.h +++ b/include/asm-xtensa/tlbflush.h | |||
@@ -41,17 +41,6 @@ extern void flush_tlb_range(struct vm_area_struct*,unsigned long,unsigned long); | |||
41 | 41 | ||
42 | #define flush_tlb_kernel_range(start,end) flush_tlb_all() | 42 | #define flush_tlb_kernel_range(start,end) flush_tlb_all() |
43 | 43 | ||
44 | |||
45 | /* This is calld in munmap when we have freed up some page-table pages. | ||
46 | * We don't need to do anything here, there's nothing special about our | ||
47 | * page-table pages. | ||
48 | */ | ||
49 | |||
50 | static inline void flush_tlb_pgtables(struct mm_struct *mm, | ||
51 | unsigned long start, unsigned long end) | ||
52 | { | ||
53 | } | ||
54 | |||
55 | /* TLB operations. */ | 44 | /* TLB operations. */ |
56 | 45 | ||
57 | static inline unsigned long itlb_probe(unsigned long addr) | 46 | static inline unsigned long itlb_probe(unsigned long addr) |