sparc64: Fix overshoot in nid_range().
authorDavid S. Miller <davem@davemloft.net>
Thu, 14 Aug 2008 08:41:39 +0000 (01:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Aug 2008 08:41:39 +0000 (01:41 -0700)
commitc918dcce92f76bb9903e4d049f4780bad384c207
tree98cba34aec05883f1c25aa19c2a8600e4a588341
parent6f63e781eaf6a741fc65f773017154b20ed4ce3b
sparc64: Fix overshoot in nid_range().

If 'start' does not begin on a page boundary, we can overshoot
past 'end'.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/mm/init.c