mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-15 11:08:07 +00:00
Merge master.kernel.org:/home/rmk/linux-2.6-arm
This commit is contained in:
commit
9d343219e3
1 changed files with 3 additions and 3 deletions
|
@ -238,9 +238,9 @@ do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
|
||||||
up_read(&mm->mmap_sem);
|
up_read(&mm->mmap_sem);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Handle the "normal" case first
|
* Handle the "normal" case first - VM_FAULT_MAJOR / VM_FAULT_MINOR
|
||||||
*/
|
*/
|
||||||
if (fault > 0)
|
if (fault >= VM_FAULT_MINOR)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -261,7 +261,7 @@ do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
|
||||||
do_exit(SIGKILL);
|
do_exit(SIGKILL);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
case 0:
|
case VM_FAULT_SIGBUS:
|
||||||
/*
|
/*
|
||||||
* We had some memory, but were unable to
|
* We had some memory, but were unable to
|
||||||
* successfully fix up this page fault.
|
* successfully fix up this page fault.
|
||||||
|
|
Loading…
Add table
Reference in a new issue