]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab1f5fd6d6552efef99f068c477b2eadcd0e6bd6
tree5a860891e5e0a9f7883e6c5a4126d8508e7b2aee
parent2db3e0e1b1381a4ad908fca9bedecd95d5c3b43f
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