mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
slob: use PG_slab for identifying SLOB pages
For the sake of consistency. Signed-off-by: Wu Fengguang <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Cc: Andi Kleen <[email protected]> Acked-by: Matt Mackall <[email protected]> Cc: Alexey Dobriyan <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Christoph Lameter <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Pekka Enberg <[email protected]>
This commit is contained in:
parent
ce8a7424d2
commit
7303f24098
2 changed files with 3 additions and 5 deletions
|
|
@ -131,17 +131,17 @@ static LIST_HEAD(free_slob_large);
|
|||
*/
|
||||
static inline int is_slob_page(struct slob_page *sp)
|
||||
{
|
||||
return PageSlobPage((struct page *)sp);
|
||||
return PageSlab((struct page *)sp);
|
||||
}
|
||||
|
||||
static inline void set_slob_page(struct slob_page *sp)
|
||||
{
|
||||
__SetPageSlobPage((struct page *)sp);
|
||||
__SetPageSlab((struct page *)sp);
|
||||
}
|
||||
|
||||
static inline void clear_slob_page(struct slob_page *sp)
|
||||
{
|
||||
__ClearPageSlobPage((struct page *)sp);
|
||||
__ClearPageSlab((struct page *)sp);
|
||||
}
|
||||
|
||||
static inline struct slob_page *slob_page(const void *addr)
|
||||
|
|
|
|||
Loading…
Reference in a new issue