diff options
-rw-r--r-- | arch/arm/include/asm/mmu_context.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mmu_context.h b/arch/arm/include/asm/mmu_context.h index ed73babc0dc9..3cc14dd8587c 100644 --- a/arch/arm/include/asm/mmu_context.h +++ b/arch/arm/include/asm/mmu_context.h | |||
@@ -67,6 +67,7 @@ static inline void check_and_switch_context(struct mm_struct *mm, | |||
67 | cpu_switch_mm(mm->pgd, mm); | 67 | cpu_switch_mm(mm->pgd, mm); |
68 | } | 68 | } |
69 | 69 | ||
70 | #ifndef MODULE | ||
70 | #define finish_arch_post_lock_switch \ | 71 | #define finish_arch_post_lock_switch \ |
71 | finish_arch_post_lock_switch | 72 | finish_arch_post_lock_switch |
72 | static inline void finish_arch_post_lock_switch(void) | 73 | static inline void finish_arch_post_lock_switch(void) |
@@ -88,6 +89,7 @@ static inline void finish_arch_post_lock_switch(void) | |||
88 | preempt_enable_no_resched(); | 89 | preempt_enable_no_resched(); |
89 | } | 90 | } |
90 | } | 91 | } |
92 | #endif /* !MODULE */ | ||
91 | 93 | ||
92 | #endif /* CONFIG_MMU */ | 94 | #endif /* CONFIG_MMU */ |
93 | 95 | ||