summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mm/page_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 9aabaf3adbe9..cf914bd8180b 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -178,7 +178,7 @@ static inline struct page * expand (zone_t *zone, struct page *page,
area--;
high--;
size >>= 1;
- list_add(&(page)->list, &(area)->free_list);
+ list_add(&page->list, &area->free_list);
MARK_USED(index, high, area);
index += size;
page += size;