diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2010-04-03 13:58:45 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-03 13:58:45 -0700 |
commit | 33cd9dfa3a13e3d8e41aef225a9f98169816723b (patch) | |
tree | a43e894b476b26fba3ca26d41a701998b27bf0f5 /arch/sparc/mm | |
parent | b857bd292223f54aaae3693c82fa7299a99991cd (diff) |
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>
Diffstat (limited to 'arch/sparc/mm')
-rw-r--r-- | arch/sparc/mm/init_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c index 9245a822a2f1..20beb806a537 100644 --- a/arch/sparc/mm/init_64.c +++ b/arch/sparc/mm/init_64.c @@ -2117,7 +2117,7 @@ int __meminit vmemmap_populate(struct page *start, unsigned long nr, int node) "node=%d entry=%lu/%lu\n", start, block, nr, node, addr >> VMEMMAP_CHUNK_SHIFT, - VMEMMAP_SIZE >> VMEMMAP_CHUNK_SHIFT); + VMEMMAP_SIZE); } } return 0; |