Commit 2326c467df4ff814dc07cf1bdaa1e6e0a9c9f21c

Authored by Andi Kleen
Committed by Andi Kleen
1 parent 0474a60ec7

HWPOISON: Undefine short-hand macros after use to avoid namespace conflict

Signed-off-by: Andi Kleen <ak@linux.intel.com>

Showing 1 changed file with 13 additions and 0 deletions Side-by-side Diff

... ... @@ -749,6 +749,19 @@
749 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 765 static void action_result(unsigned long pfn, char *msg, int result)
753 766 {
754 767 struct page *page = pfn_to_page(pfn);