diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-09-10 01:37:36 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-10 03:57:23 +0200 |
commit | ed430fec756ad65f7cfba24f8ad17c3d5a403290 (patch) | |
tree | b0846b50b99ea2ec1e409bebb5ee13e18324dc8e | |
parent | gcov: fix null-pointer dereference for certain module types (diff) | |
download | linux-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>
-rw-r--r-- | fs/proc/page.c | 2 |
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 |