diff options
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/bitops.h | 4 | ||||
-rw-r--r-- | include/asm-mips/fpu.h | 2 | ||||
-rw-r--r-- | include/asm-mips/ip32/crime.h | 3 | ||||
-rw-r--r-- | include/asm-mips/ip32/mace.h | 3 | ||||
-rw-r--r-- | include/asm-mips/tlbflush.h | 7 |
5 files changed, 5 insertions, 14 deletions
diff --git a/include/asm-mips/bitops.h b/include/asm-mips/bitops.h index 77ed0c79830b..ec75ce4cdb8c 100644 --- a/include/asm-mips/bitops.h +++ b/include/asm-mips/bitops.h | |||
@@ -9,6 +9,10 @@ | |||
9 | #ifndef _ASM_BITOPS_H | 9 | #ifndef _ASM_BITOPS_H |
10 | #define _ASM_BITOPS_H | 10 | #define _ASM_BITOPS_H |
11 | 11 | ||
12 | #ifndef _LINUX_BITOPS_H | ||
13 | #error only <linux/bitops.h> can be included directly | ||
14 | #endif | ||
15 | |||
12 | #include <linux/compiler.h> | 16 | #include <linux/compiler.h> |
13 | #include <linux/irqflags.h> | 17 | #include <linux/irqflags.h> |
14 | #include <linux/types.h> | 18 | #include <linux/types.h> |
diff --git a/include/asm-mips/fpu.h b/include/asm-mips/fpu.h index 483685b1592e..e59d4c039661 100644 --- a/include/asm-mips/fpu.h +++ b/include/asm-mips/fpu.h | |||
@@ -12,12 +12,12 @@ | |||
12 | 12 | ||
13 | #include <linux/sched.h> | 13 | #include <linux/sched.h> |
14 | #include <linux/thread_info.h> | 14 | #include <linux/thread_info.h> |
15 | #include <linux/bitops.h> | ||
15 | 16 | ||
16 | #include <asm/mipsregs.h> | 17 | #include <asm/mipsregs.h> |
17 | #include <asm/cpu.h> | 18 | #include <asm/cpu.h> |
18 | #include <asm/cpu-features.h> | 19 | #include <asm/cpu-features.h> |
19 | #include <asm/hazards.h> | 20 | #include <asm/hazards.h> |
20 | #include <asm/bitops.h> | ||
21 | #include <asm/processor.h> | 21 | #include <asm/processor.h> |
22 | #include <asm/current.h> | 22 | #include <asm/current.h> |
23 | 23 | ||
diff --git a/include/asm-mips/ip32/crime.h b/include/asm-mips/ip32/crime.h index a13702fafa85..7c36b0e5b1c6 100644 --- a/include/asm-mips/ip32/crime.h +++ b/include/asm-mips/ip32/crime.h | |||
@@ -17,9 +17,6 @@ | |||
17 | */ | 17 | */ |
18 | #define CRIME_BASE 0x14000000 /* physical */ | 18 | #define CRIME_BASE 0x14000000 /* physical */ |
19 | 19 | ||
20 | #undef BIT | ||
21 | #define BIT(x) (1UL << (x)) | ||
22 | |||
23 | struct sgi_crime { | 20 | struct sgi_crime { |
24 | volatile unsigned long id; | 21 | volatile unsigned long id; |
25 | #define CRIME_ID_MASK 0xff | 22 | #define CRIME_ID_MASK 0xff |
diff --git a/include/asm-mips/ip32/mace.h b/include/asm-mips/ip32/mace.h index 990082c81f39..d08d7c672139 100644 --- a/include/asm-mips/ip32/mace.h +++ b/include/asm-mips/ip32/mace.h | |||
@@ -17,9 +17,6 @@ | |||
17 | */ | 17 | */ |
18 | #define MACE_BASE 0x1f000000 /* physical */ | 18 | #define MACE_BASE 0x1f000000 /* physical */ |
19 | 19 | ||
20 | #undef BIT | ||
21 | #define BIT(x) (1UL << (x)) | ||
22 | |||
23 | /* | 20 | /* |
24 | * PCI interface | 21 | * PCI interface |
25 | */ | 22 | */ |
diff --git a/include/asm-mips/tlbflush.h b/include/asm-mips/tlbflush.h index 730e841fb08a..86b21de12e91 100644 --- a/include/asm-mips/tlbflush.h +++ b/include/asm-mips/tlbflush.h | |||
@@ -11,7 +11,6 @@ | |||
11 | * - flush_tlb_page(vma, vmaddr) flushes one page | 11 | * - flush_tlb_page(vma, vmaddr) flushes one page |
12 | * - flush_tlb_range(vma, start, end) flushes a range of pages | 12 | * - flush_tlb_range(vma, start, end) flushes a range of pages |
13 | * - flush_tlb_kernel_range(start, end) flushes a range of kernel pages | 13 | * - flush_tlb_kernel_range(start, end) flushes a range of kernel pages |
14 | * - flush_tlb_pgtables(mm, start, end) flushes a range of page tables | ||
15 | */ | 14 | */ |
16 | extern void local_flush_tlb_all(void); | 15 | extern void local_flush_tlb_all(void); |
17 | extern void local_flush_tlb_mm(struct mm_struct *mm); | 16 | extern void local_flush_tlb_mm(struct mm_struct *mm); |
@@ -45,10 +44,4 @@ extern void flush_tlb_one(unsigned long vaddr); | |||
45 | 44 | ||
46 | #endif /* CONFIG_SMP */ | 45 | #endif /* CONFIG_SMP */ |
47 | 46 | ||
48 | static inline void flush_tlb_pgtables(struct mm_struct *mm, | ||
49 | unsigned long start, unsigned long end) | ||
50 | { | ||
51 | /* Nothing to do on MIPS. */ | ||
52 | } | ||
53 | |||
54 | #endif /* __ASM_TLBFLUSH_H */ | 47 | #endif /* __ASM_TLBFLUSH_H */ |