Commit 4ee5a98f authored by Ivan Kokshaysky's avatar Ivan Kokshaysky Committed by Richard Henderson

[PATCH] fix NUMA build

Replace reference to page->count with page_count().

Ivan.
parent 629c9ae0
......@@ -384,7 +384,7 @@ show_mem(void)
else if (!page_count(lmem_map+i))
free++;
else
shared += atomic_read(&lmem_map[i].count) - 1;
shared += page_count(lmem_map + i) - 1;
}
}
printk("%ld pages of RAM\n",total);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment