patch-2.4.25 linux-2.4.25/include/asm-m68k/mmu_context.h
Next file: linux-2.4.25/include/asm-m68k/motorola_pgalloc.h
Previous file: linux-2.4.25/include/asm-m68k/mac_via.h
Back to the patch index
Back to the overall index
- Lines: 47
- Date:
2004-02-18 05:36:32.000000000 -0800
- Orig file:
linux-2.4.24/include/asm-m68k/mmu_context.h
- Orig date:
2000-12-29 14:07:23.000000000 -0800
diff -urN linux-2.4.24/include/asm-m68k/mmu_context.h linux-2.4.25/include/asm-m68k/mmu_context.h
@@ -13,8 +13,8 @@
#include <asm/page.h>
#include <asm/pgalloc.h>
-extern inline int
-init_new_context(struct task_struct *tsk, struct mm_struct *mm)
+static inline int init_new_context(struct task_struct *tsk,
+ struct mm_struct *mm)
{
mm->context = virt_to_phys(mm->pgd);
return 0;
@@ -22,7 +22,7 @@
#define destroy_context(mm) do { } while(0)
-extern inline void switch_mm_0230(struct mm_struct *mm)
+static inline void switch_mm_0230(struct mm_struct *mm)
{
unsigned long crp[2] = {
0x80000000 | _PAGE_TABLE, mm->context
@@ -55,7 +55,7 @@
asm volatile (".chip 68k");
}
-extern inline void switch_mm_0460(struct mm_struct *mm)
+static inline void switch_mm_0460(struct mm_struct *mm)
{
asm volatile (".chip 68040");
@@ -89,7 +89,7 @@
}
}
-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)
{
next_mm->context = virt_to_phys(next_mm->pgd);
@@ -140,7 +140,7 @@
activate_context(tsk->mm);
}
-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)
{
activate_context(next_mm);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)