]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Fix array size reported by vmemmap_populate()
authorBen Hutchings <ben@decadent.org.uk>
Sat, 3 Apr 2010 20:58:45 +0000 (13:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Apr 2010 20:58:45 +0000 (13:58 -0700)
commit888e6330c5b79a2bec96705355ac956393aa5a35
treea43e894b476b26fba3ca26d41a701998b27bf0f5
parentce3bdd76aa5ff85f19bce96d730e251ce0931f9b
sparc64: Fix array size reported by vmemmap_populate()

vmemmap_populate() attempts to report the used index and total size of
vmemmap_table, but it wrongly shifts the total size so that it is
always shown as 0.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/mm/init_64.c