]> err.no Git - linux-2.6/blobdiff - include/asm-m68knommu/mmu_context.h
V4L/DVB (6451): v4l2: add support for bus-based I2C drivers
[linux-2.6] / include / asm-m68knommu / mmu_context.h
index 9bc0fd49b8aa22c4057dd170d2aca3163606db61..9ccee4278c977dd924aead4d6bead5e58b236d99 100644 (file)
@@ -1,16 +1,16 @@
 #ifndef __M68KNOMMU_MMU_CONTEXT_H
 #define __M68KNOMMU_MMU_CONTEXT_H
 
-#include <linux/config.h>
 #include <asm/setup.h>
 #include <asm/page.h>
 #include <asm/pgalloc.h>
+#include <asm-generic/mm_hooks.h>
 
 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)
 {
 }