]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Fix si_addr value on low level hash failures
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 7 Nov 2007 06:17:02 +0000 (17:17 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 8 Nov 2007 03:15:34 +0000 (14:15 +1100)
commit55b4d6a9d6af1bccd190d2d78f3564b6f1c3717c
tree1fe2d603c9e4ee37fafc0acc89b6e5e91ae293b6
parentc9dbcdba275b48db8ff23c7a446cd2f985cfad67
[POWERPC] Fix si_addr value on low level hash failures

If the low level MMU hash table insertion returns an error (which
can happen in some rare circumstances when the hypervisor refuses
the insertion of a PTE, typically if you try to access junk via
/dev/mem), the generated signal had an incorrect si_addr value due
to a bug in the assembly, which was loading it as a 32 bits quantity
instead of a 64 bits quantity.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/head_64.S