Skip to contentSkip to conversation

proc: Export uncached bit properly in /proc/kpageflags

PATCH New Takashi Iwai 1 participant 1 message Aug 17, 2010 Proc filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 fs/proc/page.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/proc/page.c +1 -1
index 180cf5a..3b8b456 100644
@@ -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
 
Signature · 1 line
1.7.2.1