summaryrefslogtreecommitdiff
path: root/.gitignore
AgeCommit message (Expand)AuthorFilesLines
2006-07-17Update .gitignoreTobias Klauser1-0/+5
2006-07-07Update .gitignoreTobias Klauser1-1/+2
2006-03-13Initial importTobias Klauser1-0/+1
ion value='6'>6space:mode:
Diffstat (limited to 'Documentation/devicetree/bindings')
>committer
Russell King <rmk+kernel@arm.linux.org.uk>2012-04-10 09:27:42 +0100
commitdff2aa7af8c96a11f75d858859f0e0c78b193d12 (patch)
tree3b88ae41a4d4571a48d03ad90c8955f3fffec77e /arch/arm/mm/fault.c
parent258f742635360175564e9470eb060ff4d4b984e7 (diff)
ARM: 7368/1: fault.c: correct how the tsk->[maj|min]_flt gets incremented
commit 8878a539ff19a43cf3729e7562cd528f490246ae was done by me to make the page fault handler retryable as well as interruptible. Due to this commit, there is a mistake in the way in which tsk->[maj|min]_flt counter gets incremented for VM_FAULT_ERROR: If VM_FAULT_ERROR is returned in the fault flags by handle_mm_fault, then either maj_flt or min_flt will get incremented. This is wrong as in the case of a VM_FAULT_ERROR we need to be skip ahead to the error handling code in do_page_fault. Added a check after the call to __do_page_fault() to check for (fault & VM_FAULT_ERROR). Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/fault.c')