sparc64: Fix array size reported by vmemmap_populate()
commit33cd9dfa3a13e3d8e41aef225a9f98169816723b
authorBen Hutchings <ben@decadent.org.uk>
Sat, 3 Apr 2010 20:58:45 +0000 (3 13:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Apr 2010 20:58:45 +0000 (3 13:58 -0700)
treea43e894b476b26fba3ca26d41a701998b27bf0f5
parentb857bd292223f54aaae3693c82fa7299a99991cd
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