summaryrefslogtreecommitdiffstats
path: root/include/linux/mmzone.h
diff options
context:
space:
mode:
authorAndi Kleen2005-11-05 17:25:53 +0100
committerLinus Torvalds2005-11-15 04:55:14 +0100
commit07808b74e7dab1aa385e698795875337d72daf7d (patch)
tree3b593c31e6e58364f4001105bfeebefa94708209 /include/linux/mmzone.h
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 'include/linux/mmzone.h')
-rw-r--r--include/linux/mmzone.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index da7a829f8561..57fc99c67c31 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -455,7 +455,7 @@ extern struct pglist_data contig_page_data;
#include <asm/sparsemem.h>
#endif
-#if BITS_PER_LONG == 32 || defined(ARCH_HAS_ATOMIC_UNSIGNED)
+#if BITS_PER_LONG == 32
/*
* with 32 bit page->flags field, we reserve 9 bits for node/zone info.
* there are 4 zones (3 bits) and this leaves 9-3=6 bits for nodes.