summaryrefslogtreecommitdiff
path: root/include/asm-m68knommu/mmu_context.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2005-11-02 14:42:03 +1000
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-01 21:41:19 -0800
commitc514b8be7aea4b5d8e16fba3a79b14aec3793f65 (patch)
treec3a05cc8becce2404f24416fe486ddbb5f05c68f /include/asm-m68knommu/mmu_context.h
parentf98e85691bbbca1e72f8bfe9dfee2639e8545790 (diff)
[PATCH] m68knommu: change use of extern inline to static inline in headers
"extern inline" doesn't make much sense here. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Greg Ungerer <gerg@uclinux.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-m68knommu/mmu_context.h')
-rw-r--r--include/asm-m68knommu/mmu_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-m68knommu/mmu_context.h b/include/asm-m68knommu/mmu_context.h
index 9bc0fd49b8aa..1e080eca9ca8 100644
--- a/include/asm-m68knommu/mmu_context.h
+++ b/include/asm-m68knommu/mmu_context.h
@@ -10,7 +10,7 @@ static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
{
}
-extern inline int
+static inline int
init_new_context(struct task_struct *tsk, struct mm_struct *mm)
{
// mm->context = virt_to_phys(mm->pgd);
@@ -25,7 +25,7 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, str
#define deactivate_mm(tsk,mm) do { } while (0)
-extern inline void activate_mm(struct mm_struct *prev_mm,
+static inline void activate_mm(struct mm_struct *prev_mm,
struct mm_struct *next_mm)
{
}