diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-01-30 07:30:28 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:28 -0500 |
commit | 3abf024d2abb79614d8c4cb25a70d5596f77d0ad (patch) | |
tree | 443a31982281a6b5a0816946927ebda9eca1f24d /include | |
parent | a72368dd37f6ae333fbab03598e46a995d91decc (diff) |
x86: nuke a ton of unused exports
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/bug.h | 3 | ||||
-rw-r--r-- | include/asm-x86/mmu_context_64.h | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/include/asm-x86/bug.h b/include/asm-x86/bug.h index fd8bdc639c48..8d477a201392 100644 --- a/include/asm-x86/bug.h +++ b/include/asm-x86/bug.h | |||
@@ -33,9 +33,6 @@ | |||
33 | } while(0) | 33 | } while(0) |
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | void out_of_line_bug(void); | ||
37 | #else /* CONFIG_BUG */ | ||
38 | static inline void out_of_line_bug(void) { } | ||
39 | #endif /* !CONFIG_BUG */ | 36 | #endif /* !CONFIG_BUG */ |
40 | 37 | ||
41 | #include <asm-generic/bug.h> | 38 | #include <asm-generic/bug.h> |
diff --git a/include/asm-x86/mmu_context_64.h b/include/asm-x86/mmu_context_64.h index 0cce83a78378..29f95c3acc28 100644 --- a/include/asm-x86/mmu_context_64.h +++ b/include/asm-x86/mmu_context_64.h | |||
@@ -49,7 +49,7 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, | |||
49 | else { | 49 | else { |
50 | write_pda(mmu_state, TLBSTATE_OK); | 50 | write_pda(mmu_state, TLBSTATE_OK); |
51 | if (read_pda(active_mm) != next) | 51 | if (read_pda(active_mm) != next) |
52 | out_of_line_bug(); | 52 | BUG(); |
53 | if (!cpu_test_and_set(cpu, next->cpu_vm_mask)) { | 53 | if (!cpu_test_and_set(cpu, next->cpu_vm_mask)) { |
54 | /* We were in lazy tlb mode and leave_mm disabled | 54 | /* We were in lazy tlb mode and leave_mm disabled |
55 | * tlb flush IPI delivery. We must reload CR3 | 55 | * tlb flush IPI delivery. We must reload CR3 |