提交 2326c467 编写于 作者: A Andi Kleen 提交者: Andi Kleen

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

Signed-off-by: NAndi Kleen <ak@linux.intel.com>
上级 0474a60e
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册