Commit ed430fec756ad65f7cfba24f8ad17c3d5a403290

Authored by Takashi Iwai
Committed by Linus Torvalds
1 parent 85a0fdfd0f

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -146,7 +146,7 @@
146 146 u |= kpf_copy_bit(k, KPF_HWPOISON, PG_hwpoison);
147 147 #endif
148 148  
149   -#ifdef CONFIG_IA64_UNCACHED_ALLOCATOR
  149 +#ifdef CONFIG_ARCH_USES_PG_UNCACHED
150 150 u |= kpf_copy_bit(k, KPF_UNCACHED, PG_uncached);
151 151 #endif
152 152