Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2326c467 authored by Andi Kleen's avatar Andi Kleen Committed by Andi Kleen
Browse files

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



Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
parent 0474a60e
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -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);