summaryrefslogtreecommitdiffstats
path: root/include/linux/vmstat.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-06-30 01:55:43 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-30 11:25:36 -0700
commitbab1846a0582f627f5ec22aa2dc5f4f3e82e8176 (patch)
tree79b6f31881f578a4db8a98ed97be4fc0db3f4ac1 /include/linux/vmstat.h
parentc24f21bda88df4574de0a32a2a1558a23adae1b8 (diff)
[PATCH] zoned-vm-counters: remove read_page_state()
No callers. Cc: Christoph Lameter <clameter@engr.sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/vmstat.h')
-rw-r--r--include/linux/vmstat.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/vmstat.h b/include/linux/vmstat.h
index 5b5b96afc39..5fad1613e7d 100644
--- a/include/linux/vmstat.h
+++ b/include/linux/vmstat.h
@@ -70,13 +70,9 @@ struct page_state {
};
extern void get_full_page_state(struct page_state *ret);
-extern unsigned long read_page_state_offset(unsigned long offset);
extern void mod_page_state_offset(unsigned long offset, unsigned long delta);
extern void __mod_page_state_offset(unsigned long offset, unsigned long delta);
-#define read_page_state(member) \
- read_page_state_offset(offsetof(struct page_state, member))
-
#define mod_page_state(member, delta) \
mod_page_state_offset(offsetof(struct page_state, member), (delta))