powerpc: Fix endian issues in power7/8 machine check handler
authorAnton Blanchard <anton@samba.org>
Sun, 15 Dec 2013 23:47:54 +0000 (10:47 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 30 Dec 2013 03:51:09 +0000 (14:51 +1100)
commita68c33f3592eef63304a5f5ab68466539ccac56c
tree61c8bccbe6ed49b5993eefea013347b7dfa6d435
parentd084775738b746648d4102337163a04534a02982
powerpc: Fix endian issues in power7/8 machine check handler

The SLB save area is shared with the hypervisor and is defined
as big endian, so we need to byte swap on little endian builds.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/mce_power.c