diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/vmstat.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/vmstat.h b/include/linux/vmstat.h index 5b5b96afc395..5fad1613e7d6 100644 --- a/include/linux/vmstat.h +++ b/include/linux/vmstat.h | |||
@@ -70,13 +70,9 @@ struct page_state { | |||
70 | }; | 70 | }; |
71 | 71 | ||
72 | extern void get_full_page_state(struct page_state *ret); | 72 | extern void get_full_page_state(struct page_state *ret); |
73 | extern unsigned long read_page_state_offset(unsigned long offset); | ||
74 | extern void mod_page_state_offset(unsigned long offset, unsigned long delta); | 73 | extern void mod_page_state_offset(unsigned long offset, unsigned long delta); |
75 | extern void __mod_page_state_offset(unsigned long offset, unsigned long delta); | 74 | extern void __mod_page_state_offset(unsigned long offset, unsigned long delta); |
76 | 75 | ||
77 | #define read_page_state(member) \ | ||
78 | read_page_state_offset(offsetof(struct page_state, member)) | ||
79 | |||
80 | #define mod_page_state(member, delta) \ | 76 | #define mod_page_state(member, delta) \ |
81 | mod_page_state_offset(offsetof(struct page_state, member), (delta)) | 77 | mod_page_state_offset(offsetof(struct page_state, member), (delta)) |
82 | 78 | ||