]> git.hungrycats.org Git - linux/commit
[ARM] Fix use of page->count
authorIan Campbell <icampbell@com.rmk.(none)>
Mon, 17 May 2004 21:02:14 +0000 (22:02 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Mon, 17 May 2004 21:02:14 +0000 (22:02 +0100)
commit1f20fe30dd133a187afab1ae39fe1a5c6423aa51
treef8ce77b5f17351e4fb11af053c2a95ef3e2841c1
parentbd7b6c43e2e61a6380c1a1b99229d108c16c1f3a
[ARM] Fix use of page->count

Patch from: Ian Campbell

This changes the atomic_t in struct page named count into a private
member _count which breaks arch/arm/mm/init.c at line 80 which reads
page->count directly in show_mem().

The comments in the above changeset suggest that page_count(page) is
precisely equal to the old page->count semantics, even though the
semantics of _count are different, so I think the following is correct
arch/arm/mm/init.c