Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190494
b: refs/heads/master
c: c8f3cc0
h: refs/heads/master
v: v3
  • Loading branch information
David Daney authored and Ralf Baechle committed Apr 30, 2010
1 parent 5d3b8e6 commit 207c0ad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b0b4ce38a535ed3de5ec6fdd4f3c34435a1c1d1e
refs/heads/master: c8f3cc0b65af00be5f84c6d4ee45007643322713
9 changes: 7 additions & 2 deletions trunk/arch/mips/include/asm/pgtable-64.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,14 @@
#endif
#define FIRST_USER_ADDRESS 0UL

#define VMALLOC_START MAP_BASE
/*
* TLB refill handlers also map the vmalloc area into xuseg. Avoid
* the first couple of pages so NULL pointer dereferences will still
* reliably trap.
*/
#define VMALLOC_START (MAP_BASE + (2 * PAGE_SIZE))
#define VMALLOC_END \
(VMALLOC_START + \
(MAP_BASE + \
min(PTRS_PER_PGD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, \
(1UL << cpu_vmbits)) - (1UL << 32))

Expand Down

0 comments on commit 207c0ad

Please sign in to comment.