[SPARC64]: Couple of do_sparc64_fault fixes.
1) Use in_atomic() for atomicity check.
2) Add mmap_sem deadlock on bad kernel access
prevention just as on i386
3) Use VM_FAULT_* macros instead of magic constants.
Signed-off-by: David S. Miller <davem@davemloft.net>
Showing
Please register or sign in to comment