powerpc/powernv: Fix endianness problems in EEH
authorGuo Chao <yan@linux.vnet.ibm.com>
Mon, 9 Jun 2014 08:58:51 +0000 (16:58 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Jun 2014 07:03:23 +0000 (17:03 +1000)
commitddf0322a3ffe2d98facc72f255ac5c140b547c72
tree72c1e1a794a0b2363e8053617accb9c306d04777
parent8b9f9269bcfb4fe9b44bb52aac1ce796834109fe
powerpc/powernv: Fix endianness problems in EEH

EEH information fetched from OPAL need fix before using in LE environment.
To be included in sparse's endian check, declare them as __beXX and
access them by accessors.

Cc: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Guo Chao <yan@linux.vnet.ibm.com>
Acked-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/eeh-ioda.c
arch/powerpc/platforms/powernv/pci.c