summaryrefslogtreecommitdiff
path: root/include/linux/hugetlb_inline.h
diff options
context:
space:
mode:
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>2010-06-15 13:18:13 +0900
committerAndi Kleen <ak@linux.intel.com>2010-08-11 09:23:22 +0200
commite3390f67a7267daa227380b6f1bbf13c7ddd4aff (patch)
tree7f0285b20cc844b9ea403d5d1278a9643a1baec5 /include/linux/hugetlb_inline.h
parent43131e141abdb44c487cf79af3ef1fe5164dcef9 (diff)
hwpoison: rename CONFIG
CONFIG_HUGETLBFS controls hugetlbfs interface code. OTOH, CONFIG_HUGETLB_PAGE controls hugepage management code. So we should use CONFIG_HUGETLB_PAGE here. Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'include/linux/hugetlb_inline.h')
-rw-r--r--include/linux/hugetlb_inline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/hugetlb_inline.h b/include/linux/hugetlb_inline.h
index cf00b6df53dc..6931489a5c14 100644
--- a/include/linux/hugetlb_inline.h
+++ b/include/linux/hugetlb_inline.h
@@ -1,7 +1,7 @@
#ifndef _LINUX_HUGETLB_INLINE_H
-#define _LINUX_HUGETLB_INLINE_H 1
+#define _LINUX_HUGETLB_INLINE_H
-#ifdef CONFIG_HUGETLBFS
+#ifdef CONFIG_HUGETLB_PAGE
#include <linux/mm.h>