diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2009-05-11 02:59:34 -0400 |
---|---|---|
committer | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-05-11 02:59:34 -0400 |
commit | 7303f240981888884412a97ac742772527356880 (patch) | |
tree | e5bcc86cf4e33e862dbcb37787ed9a8f2ec2b32b /mm/slob.c | |
parent | ce8a7424d23a36f043d0de8484f888971c831119 (diff) |
slob: use PG_slab for identifying SLOB pages
For the sake of consistency.
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Andi Kleen <andi@firstfloor.org>
Acked-by: Matt Mackall <mpm@selenic.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'mm/slob.c')
-rw-r--r-- | mm/slob.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -131,17 +131,17 @@ static LIST_HEAD(free_slob_large); | |||
131 | */ | 131 | */ |
132 | static inline int is_slob_page(struct slob_page *sp) | 132 | static inline int is_slob_page(struct slob_page *sp) |
133 | { | 133 | { |
134 | return PageSlobPage((struct page *)sp); | 134 | return PageSlab((struct page *)sp); |
135 | } | 135 | } |
136 | 136 | ||
137 | static inline void set_slob_page(struct slob_page *sp) | 137 | static inline void set_slob_page(struct slob_page *sp) |
138 | { | 138 | { |
139 | __SetPageSlobPage((struct page *)sp); | 139 | __SetPageSlab((struct page *)sp); |
140 | } | 140 | } |
141 | 141 | ||
142 | static inline void clear_slob_page(struct slob_page *sp) | 142 | static inline void clear_slob_page(struct slob_page *sp) |
143 | { | 143 | { |
144 | __ClearPageSlobPage((struct page *)sp); | 144 | __ClearPageSlab((struct page *)sp); |
145 | } | 145 | } |
146 | 146 | ||
147 | static inline struct slob_page *slob_page(const void *addr) | 147 | static inline struct slob_page *slob_page(const void *addr) |