summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64/mmu_context.h
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2000-04-21 23:36:32 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2000-04-21 23:36:32 +0000
commite6e532e9a0ba52cbc61f76e2f5b8cad38cd8f351 (patch)
treeebfcf1159699c3805fd8c6a38f0cedd5c701c4c9 /include/asm-mips64/mmu_context.h
parent450fd370d43ff2e5a0f329ed31d2eb2a8aa44d60 (diff)
Delete unused junk "current_pgd".
Diffstat (limited to 'include/asm-mips64/mmu_context.h')
-rw-r--r--include/asm-mips64/mmu_context.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-mips64/mmu_context.h b/include/asm-mips64/mmu_context.h
index c708365f3..4592f685f 100644
--- a/include/asm-mips64/mmu_context.h
+++ b/include/asm-mips64/mmu_context.h
@@ -16,7 +16,6 @@
/* Fuck. The f-word is here so you can grep for it :-) */
extern unsigned long asid_cache;
-extern pgd_t *current_pgd;
#define ASID_INC 0x1
#define ASID_MASK 0xff
@@ -62,7 +61,6 @@ extern inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
if ((next->context ^ asid_cache) & ASID_VERSION_MASK)
get_new_mmu_context(next);
- current_pgd = next->pgd;
set_entryhi(next->context);
}
@@ -85,7 +83,6 @@ activate_mm(struct mm_struct *prev, struct mm_struct *next)
/* Unconditionally get a new ASID. */
get_new_mmu_context(next);
- current_pgd = next->pgd;
set_entryhi(next->context);
}