diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-05-07 02:55:41 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-05-07 02:55:41 +0000 |
commit | dcec8a13bf565e47942a1751a9cec21bec5648fe (patch) | |
tree | 548b69625b18cc2e88c3e68d0923be546c9ebb03 /include/asm-sparc/mmu_context.h | |
parent | 2e0f55e79c49509b7ff70ff1a10e1e9e90a3dfd4 (diff) |
o Merge with Linux 2.1.99.
o Fix ancient bug in the ELF loader making ldd crash.
o Fix ancient bug in the keyboard code for SGI, SNI and Jazz.
Diffstat (limited to 'include/asm-sparc/mmu_context.h')
-rw-r--r-- | include/asm-sparc/mmu_context.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/asm-sparc/mmu_context.h b/include/asm-sparc/mmu_context.h index d104a758c..d6ac7e922 100644 --- a/include/asm-sparc/mmu_context.h +++ b/include/asm-sparc/mmu_context.h @@ -1,6 +1,8 @@ #ifndef __SPARC_MMU_CONTEXT_H #define __SPARC_MMU_CONTEXT_H +#include <asm/btfixup.h> + /* For now I still leave the context handling in the * switch_to() macro, I'll do it right soon enough. */ @@ -9,11 +11,15 @@ /* Initialize the context related info for a new mm_struct * instance. */ -extern void (*init_new_context)(struct mm_struct *mm); +BTFIXUPDEF_CALL(void, init_new_context, struct mm_struct *) + +#define init_new_context(mm) BTFIXUP_CALL(init_new_context)(mm) /* Destroy context related info for an mm_struct that is about * to be put to rest. */ -extern void (*destroy_context)(struct mm_struct *mm); +BTFIXUPDEF_CALL(void, destroy_context, struct mm_struct *) + +#define destroy_context(mm) BTFIXUP_CALL(destroy_context)(mm) #endif /* !(__SPARC_MMU_CONTEXT_H) */ |