summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2000-07-06 01:27:45 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2000-07-06 01:27:45 +0000
commitfd82541b28d0e8d17133baabf342ef71f5812df5 (patch)
tree29aeb8e8872e6565561b3d182c47fc1e136a2fbf
parent949c604d3d84d59df95445a4231aaaa00b06800a (diff)
Fix VMALLOC_END so that all the translations can be held in the pair
of page tables that manage the vmalloc space.
-rw-r--r--include/asm-mips64/pgtable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips64/pgtable.h b/include/asm-mips64/pgtable.h
index 6e6212a06..b0c97ced1 100644
--- a/include/asm-mips64/pgtable.h
+++ b/include/asm-mips64/pgtable.h
@@ -95,7 +95,7 @@ do { \
#define VMALLOC_START XKSEG
#define VMALLOC_VMADDR(x) ((unsigned long)(x))
#define VMALLOC_END \
- (VMALLOC_START + ((PAGE_SIZE << KPTBL_PAGE_ORDER) * PTRS_PER_PTE * PAGE_SIZE))
+ (VMALLOC_START + ((1 << KPTBL_PAGE_ORDER) * PTRS_PER_PTE * PAGE_SIZE))
/* Note that we shift the lower 32bits of each EntryLo[01] entry
* 6 bits to the left. That way we can convert the PFN into the