summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorNick Piggin <nickpiggin@yahoo.com.au>2005-09-04 00:54:50 +0200
committerLinus Torvalds <torvalds@evo.osdl.org>2005-09-05 09:05:44 +0200
commit242e54686257493f0b10ac557e730419d9af7d24 (patch)
treed68754b32c531141969a09ca0c5df246893c5b1e /mm/page_alloc.c
parent[PATCH] mm: remap ZERO_PAGE mappings (diff)
downloadlinux-242e54686257493f0b10ac557e730419d9af7d24.tar.xz
linux-242e54686257493f0b10ac557e730419d9af7d24.zip
[PATCH] mm: remove atomic
This bitop does not need to be atomic because it is performed when there will be no references to the page (ie. the page is being freed). Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 8d088371196a..620aa11b24eb 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -329,7 +329,7 @@ static inline void free_pages_check(const char *function, struct page *page)
1 << PG_writeback )))
bad_page(function, page);
if (PageDirty(page))
- ClearPageDirty(page);
+ __ClearPageDirty(page);
}
/*