diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-12-08 16:03:49 +0100 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2009-12-08 16:03:49 +0100 |
commit | b2e9719e77a0bd6766a7c935c7d44292a0adc6ef (patch) | |
tree | 442103d1713511752151429c2aa03c706a2cc475 /mm | |
parent | 7fb51b5ca326699292cde88dc9e4cdd08ed7acbf (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')
-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 4cbce35660bc..d334ae708cd7 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -747,6 +747,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); |