]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit057b87ac39e07539dc19fd1732c5c4f893cde0a4
tree72c1e1a794a0b2363e8053617accb9c306d04777
parentfd494c79a273ff2bd31ee79fac21e7959eb4efdf
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