powerpc/vphn: move endianness fixing to vphn_unpack_associativity()
authorGreg Kurz <gkurz@linux.vnet.ibm.com>
Mon, 23 Feb 2015 15:14:25 +0000 (16:14 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 17 Mar 2015 23:48:59 +0000 (10:48 +1100)
commitb1fc9484aa339c19bd57702dc88fb046702b6092
tree5a860891e5e0a9f7883e6c5a4126d8508e7b2aee
parent9d0e6d9db56a38e205e7138837b885082dc769ec
powerpc/vphn: move endianness fixing to vphn_unpack_associativity()

The first argument to vphn_unpack_associativity() is a const long *, but the
parsing code expects __be64 values actually. Let's move the endian fixing
down for consistency.

Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/numa.c