Re: [PATCH] powerpc/powernv: fix endianness problems in EEH

2014-06-09 Thread Gavin Shan
On Mon, Jun 09, 2014 at 04:58:51PM +0800, Guo Chao wrote: >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 > >Signed-off-by: Guo Chao Acked-by: Gavin Shan

[PATCH] powerpc/powernv: fix endianness problems in EEH

2014-06-09 Thread Guo Chao
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 Signed-off-by: Guo Chao --- arch/powerpc/include/asm/opal.h | 102 +++--- ar