Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1241975 > unrolled thread

[RFC] mm: change HIGHMEM_ZONE macro definition

Started byyalin wang <yalin.wang2010@gmail.com>
First post2015-10-08 08:00 +0200
Last post2015-10-08 08:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [RFC] mm: change HIGHMEM_ZONE macro definition yalin wang <yalin.wang2010@gmail.com> - 2015-10-08 08:00 +0200

#1241975 — [RFC] mm: change HIGHMEM_ZONE macro definition

Fromyalin wang <yalin.wang2010@gmail.com>
Date2015-10-08 08:00 +0200
Subject[RFC] mm: change HIGHMEM_ZONE macro definition
Message-ID<qhcpd-2Ve-9@gated-at.bofh.it>
Change HIGHMEM_ZONE to be the same as DMA_ZONE macro.

Signed-off-by: yalin wang <yalin.wang2010@gmail.com>
---
 include/linux/vm_event_item.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/vm_event_item.h b/include/linux/vm_event_item.h
index 2b1cef8..b3bd7c7 100644
--- a/include/linux/vm_event_item.h
+++ b/include/linux/vm_event_item.h
@@ -14,12 +14,12 @@
 #endif
 
 #ifdef CONFIG_HIGHMEM
-#define HIGHMEM_ZONE(xx) , xx##_HIGH
+#define HIGHMEM_ZONE(xx) xx##_HIGH,
 #else
 #define HIGHMEM_ZONE(xx)
 #endif
 
-#define FOR_ALL_ZONES(xx) DMA_ZONE(xx) DMA32_ZONE(xx) xx##_NORMAL HIGHMEM_ZONE(xx) , xx##_MOVABLE
+#define FOR_ALL_ZONES(xx) DMA_ZONE(xx) DMA32_ZONE(xx) xx##_NORMAL, HIGHMEM_ZONE(xx) xx##_MOVABLE
 
 enum vm_event_item { PGPGIN, PGPGOUT, PSWPIN, PSWPOUT,
 		FOR_ALL_ZONES(PGALLOC),
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web