projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0474a60
)
HWPOISON: Undefine short-hand macros after use to avoid namespace conflict
author
Andi Kleen
<andi@firstfloor.org>
Wed, 16 Dec 2009 11:20:00 +0000
(12:20 +0100)
committer
Andi Kleen
<ak@linux.intel.com>
Wed, 16 Dec 2009 11:20:00 +0000
(12:20 +0100)
Signed-off-by: Andi Kleen <ak@linux.intel.com>
mm/memory-failure.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/memory-failure.c
b/mm/memory-failure.c
index ded1d387b4c50acc90e979a26c754a29a89de108..b5c3b6bd511f5cda133b77f98c9599e5ae7c8990 100644
(file)
--- a/
mm/memory-failure.c
+++ b/
mm/memory-failure.c
@@
-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);