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:
35cd781
)
mm: remove __{add,sub}_zone_page_state()
author
KOSAKI Motohiro
<
[email protected]
>
Tue, 22 Sep 2009 00:01:39 +0000
(17:01 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 22 Sep 2009 14:17:30 +0000
(07:17 -0700)
__add_zone_page_state() and __sub_zone_page_state() are unused.
Signed-off-by: KOSAKI Motohiro <
[email protected]
>
Cc: Wu Fengguang <
[email protected]
>
Cc: Rik van Riel <
[email protected]
>
Cc: Minchan Kim <
[email protected]
>
Cc: Christoph Lameter <
[email protected]
>
Cc: KAMEZAWA Hiroyuki <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/vmstat.h
patch
|
blob
|
history
diff --git
a/include/linux/vmstat.h
b/include/linux/vmstat.h
index 81a97cf8f0a0845a102a1200dc316aa32a47920f..d7f577f49d16757fcf7669c922c6c213ffc8abc3 100644
(file)
--- a/
include/linux/vmstat.h
+++ b/
include/linux/vmstat.h
@@
-210,11
+210,6
@@
extern void zone_statistics(struct zone *, struct zone *);
#endif /* CONFIG_NUMA */
-#define __add_zone_page_state(__z, __i, __d) \
- __mod_zone_page_state(__z, __i, __d)
-#define __sub_zone_page_state(__z, __i, __d) \
- __mod_zone_page_state(__z, __i,-(__d))
-
#define add_zone_page_state(__z, __i, __d) mod_zone_page_state(__z, __i, __d)
#define sub_zone_page_state(__z, __i, __d) mod_zone_page_state(__z, __i, -(__d))