diff options
Diffstat (limited to 'arch/arm/mm/small_page.c')
-rw-r--r-- | arch/arm/mm/small_page.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mm/small_page.c b/arch/arm/mm/small_page.c index ac303d45e..ee7f571a7 100644 --- a/arch/arm/mm/small_page.c +++ b/arch/arm/mm/small_page.c @@ -66,9 +66,9 @@ static struct order orders[] = { #endif }; -#define USED_MAP(pg) ((pg)->offset) -#define TEST_AND_CLEAR_USED(pg,off) (test_and_clear_bit(off, &(pg)->offset)) -#define SET_USED(pg,off) (set_bit(off, &(pg)->offset)) +#define USED_MAP(pg) ((pg)->index) +#define TEST_AND_CLEAR_USED(pg,off) (test_and_clear_bit(off, &USED_MAP(pg))) +#define SET_USED(pg,off) (set_bit(off, &USED_MAP(pg))) static void add_page_to_queue(struct page *page, struct page **p) { |