aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorAndi Kleen <andi@firstfloor.org>2009-12-16 12:20:00 +0100
committerAndi Kleen <ak@linux.intel.com>2009-12-16 12:20:00 +0100
commit2326c467df4ff814dc07cf1bdaa1e6e0a9c9f21c (patch)
tree7876b43b70a001a8f2d426b77ac6b85d378c7a76 /mm
parent0474a60ec704324577782b1057d05b574388d552 (diff)
downloadvexpress-lsk-2326c467df4ff814dc07cf1bdaa1e6e0a9c9f21c.tar.gz
HWPOISON: Undefine short-hand macros after use to avoid namespace conflict
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'mm')
-rw-r--r--mm/memory-failure.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/mm/memory-failure.c b/mm/memory-failure.c
index ded1d387b4c..b5c3b6bd511 100644
--- a/mm/memory-failure.c
+++ b/mm/memory-failure.c
@@ -749,6 +749,19 @@ static struct page_state {
{ 0, 0, "unknown page state", me_unknown },
};
+#undef dirty
+#undef sc
+#undef unevict
+#undef mlock
+#undef writeback
+#undef lru
+#undef swapbacked
+#undef head
+#undef tail
+#undef compound
+#undef slab
+#undef reserved
+
static void action_result(unsigned long pfn, char *msg, int result)
{
struct page *page = pfn_to_page(pfn);