diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-12-16 06:20:00 -0500 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2009-12-16 06:20:00 -0500 |
commit | 2326c467df4ff814dc07cf1bdaa1e6e0a9c9f21c (patch) | |
tree | 7876b43b70a001a8f2d426b77ac6b85d378c7a76 /mm/memory-failure.c | |
parent | 0474a60ec704324577782b1057d05b574388d552 (diff) |
HWPOISON: Undefine short-hand macros after use to avoid namespace conflict
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'mm/memory-failure.c')
-rw-r--r-- | mm/memory-failure.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mm/memory-failure.c b/mm/memory-failure.c index ded1d387b4c5..b5c3b6bd511f 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c | |||
@@ -749,6 +749,19 @@ static struct page_state { | |||
749 | { 0, 0, "unknown page state", me_unknown }, | 749 | { 0, 0, "unknown page state", me_unknown }, |
750 | }; | 750 | }; |
751 | 751 | ||
752 | #undef dirty | ||
753 | #undef sc | ||
754 | #undef unevict | ||
755 | #undef mlock | ||
756 | #undef writeback | ||
757 | #undef lru | ||
758 | #undef swapbacked | ||
759 | #undef head | ||
760 | #undef tail | ||
761 | #undef compound | ||
762 | #undef slab | ||
763 | #undef reserved | ||
764 | |||
752 | static void action_result(unsigned long pfn, char *msg, int result) | 765 | static void action_result(unsigned long pfn, char *msg, int result) |
753 | { | 766 | { |
754 | struct page *page = pfn_to_page(pfn); | 767 | struct page *page = pfn_to_page(pfn); |