Commit 74325fde authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] m68k: use set_page_count()

M68k: From 2.6.7-rc1 on, it's no longer allowed to access page->count directly
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ea29103d
...@@ -54,7 +54,7 @@ void __init init_pointer_table(unsigned long ptable) ...@@ -54,7 +54,7 @@ void __init init_pointer_table(unsigned long ptable)
/* unreserve the page so it's possible to free that page */ /* unreserve the page so it's possible to free that page */
PD_PAGE(dp)->flags &= ~(1 << PG_reserved); PD_PAGE(dp)->flags &= ~(1 << PG_reserved);
atomic_set(&PD_PAGE(dp)->count, 1); set_page_count(PD_PAGE(dp), 1);
return; return;
} }
......
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