summaryrefslogtreecommitdiffstats
path: root/fs/proc/page.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-09-10 01:37:36 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-09-10 03:57:23 +0200
commited430fec756ad65f7cfba24f8ad17c3d5a403290 (patch)
treeb0846b50b99ea2ec1e409bebb5ee13e18324dc8e /fs/proc/page.c
parentgcov: fix null-pointer dereference for certain module types (diff)
downloadlinux-ed430fec756ad65f7cfba24f8ad17c3d5a403290.tar.xz
linux-ed430fec756ad65f7cfba24f8ad17c3d5a403290.zip
proc: export uncached bit properly in /proc/kpageflags
Fix the left-over old ifdef for PG_uncached in /proc/kpageflags. Now it's used by x86, too. Signed-off-by: Takashi Iwai <tiwai@suse.de> Cc: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/page.c')
-rw-r--r--fs/proc/page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/page.c b/fs/proc/page.c
index 180cf5a0bd67..3b8b45660331 100644
--- a/fs/proc/page.c
+++ b/fs/proc/page.c
@@ -146,7 +146,7 @@ u64 stable_page_flags(struct page *page)
u |= kpf_copy_bit(k, KPF_HWPOISON, PG_hwpoison);
#endif
-#ifdef CONFIG_IA64_UNCACHED_ALLOCATOR
+#ifdef CONFIG_ARCH_USES_PG_UNCACHED
u |= kpf_copy_bit(k, KPF_UNCACHED, PG_uncached);
#endif