projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1c34a3
)
include/linux/vm_event_item.h: change HIGHMEM_ZONE macro definition
author
yalin wang
<
[email protected]
>
Fri, 6 Nov 2015 02:48:50 +0000
(18:48 -0800)
committer
Linus Torvalds
<
[email protected]
>
Fri, 6 Nov 2015 03:34:48 +0000
(19:34 -0800)
Change HIGHMEM_ZONE to be the same as the DMA_ZONE macro.
Signed-off-by: yalin wang <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/vm_event_item.h
patch
|
blob
|
history
diff --git
a/include/linux/vm_event_item.h
b/include/linux/vm_event_item.h
index 9246d32dc9734374d893a5357e60fdbdd0c296e3..e623d392db0c16c4cfc21102bfb3d63158d14326 100644
(file)
--- 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),