mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-02 04:24:05 +00:00
HWPOISON: Undefine short-hand macros after use to avoid namespace conflict
Signed-off-by: Andi Kleen <ak@linux.intel.com>
This commit is contained in:
parent
0474a60ec7
commit
2326c467df
1 changed files with 13 additions and 0 deletions
|
@ -749,6 +749,19 @@ static struct page_state {
|
||||||
{ 0, 0, "unknown page state", me_unknown },
|
{ 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)
|
static void action_result(unsigned long pfn, char *msg, int result)
|
||||||
{
|
{
|
||||||
struct page *page = pfn_to_page(pfn);
|
struct page *page = pfn_to_page(pfn);
|
||||||
|
|
Loading…
Add table
Reference in a new issue