powerpc/numa: Check for all VPHN changes
authorAnton Blanchard <anton@samba.org>
Sat, 29 Jan 2011 12:26:19 +0000 (12:26 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 7 Feb 2011 02:06:01 +0000 (13:06 +1100)
commitd69043e8069f493ebee9472bcc78b3f54c5c27d9
tree8b94f0000312fc3295e28b3d3a0c25074b62c71f
parent5de1669910a59025e6cf24baef242a6c264d5752
powerpc/numa: Check for all VPHN changes

The hypervisor uses unsigned 1 byte counters to signal topology changes to
the OS. Since they can wrap we need to check for any difference, not just if
the hypervisor count is greater than the previous count.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/numa.c