Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98034
b: refs/heads/master
c: b29c701
h: refs/heads/master
v: v3
  • Loading branch information
Henry Nestler authored and Ingo Molnar committed Jun 12, 2008
1 parent c317eb5 commit d88eb2e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3703f39965a197ebd91743fc38d0f640606b8da3
refs/heads/master: b29c701deacd5d24453127c37ed77ef851c53b8b
5 changes: 5 additions & 0 deletions trunk/arch/x86/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,11 @@ static int vmalloc_fault(unsigned long address)
unsigned long pgd_paddr;
pmd_t *pmd_k;
pte_t *pte_k;

/* Make sure we are in vmalloc area */
if (!(address >= VMALLOC_START && address < VMALLOC_END))
return -1;

/*
* Synchronize this task's top level page-table
* with the 'reference' page table.
Expand Down

0 comments on commit d88eb2e

Please sign in to comment.