summaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorAndi Kleen2005-11-05 17:25:53 +0100
committerLinus Torvalds2005-11-15 04:55:14 +0100
commit07808b74e7dab1aa385e698795875337d72daf7d (patch)
tree3b593c31e6e58364f4001105bfeebefa94708209 /mm/filemap.c
parent[PATCH] x86_64: Fix up outdated pfn_to_page comment (diff)
downloadkernel-qcow2-linux-07808b74e7dab1aa385e698795875337d72daf7d.tar.gz
kernel-qcow2-linux-07808b74e7dab1aa385e698795875337d72daf7d.tar.xz
kernel-qcow2-linux-07808b74e7dab1aa385e698795875337d72daf7d.zip
[PATCH] x86_64: Remove obsolete ARCH_HAS_ATOMIC_UNSIGNED and page_flags_t
Has been introduced for x86-64 at some point to save memory in struct page, but has been obsolete for some time. Just remove it. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/filemap.c')
-rw-r--r--mm/filemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index 5d6e4c2000dc..33a28bfde158 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -134,7 +134,7 @@ static int sync_page(void *word)
struct address_space *mapping;
struct page *page;
- page = container_of((page_flags_t *)word, struct page, flags);
+ page = container_of((unsigned long *)word, struct page, flags);
/*
* page_mapping() is being called without PG_locked held.