projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: introduce page reference manipulation functions
[linux-2.6-block.git]
/
arch
/
powerpc
/
platforms
/
512x
/
mpc512x_shared.c
diff --git
a/arch/powerpc/platforms/512x/mpc512x_shared.c
b/arch/powerpc/platforms/512x/mpc512x_shared.c
index 711f3d352af7b45e6ca7786f065963dbde3eb747..452da2391153aef4ffb132a65d440ccfa8fe0e45 100644
(file)
--- a/
arch/powerpc/platforms/512x/mpc512x_shared.c
+++ b/
arch/powerpc/platforms/512x/mpc512x_shared.c
@@
-188,7
+188,7
@@
static struct fsl_diu_shared_fb __attribute__ ((__aligned__(8))) diu_shared_fb;
static inline void mpc512x_free_bootmem(struct page *page)
{
BUG_ON(PageTail(page));
- BUG_ON(
atomic_read(&page->_count
) > 1);
+ BUG_ON(
page_ref_count(page
) > 1);
free_reserved_page(page);
}