sparc64: Fix top-level fault handling bugs.
authorDavid S. Miller <davem@davemloft.net>
Tue, 29 Apr 2014 06:52:11 +0000 (23:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 May 2014 05:41:19 +0000 (22:41 -0700)
commit70ffc6ebaead783ac8dafb1e87df0039bb043596
treed9ca664c73bce776a703e2bdcd19085f5b6da2c7
parentd037d16372bbe4d580342bebbb8826821ad9edf0
sparc64: Fix top-level fault handling bugs.

Make get_user_insn() able to cope with huge PMDs.

Next, make do_fault_siginfo() more robust when get_user_insn() can't
actually fetch the instruction.  In particular, use the MMU announced
fault address when that happens, instead of calling
compute_effective_address() and computing garbage.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/mm/fault_64.c