summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mm/small_page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/small_page.c b/arch/arm/mm/small_page.c
index ee7f571a7..40c91ba32 100644
--- a/arch/arm/mm/small_page.c
+++ b/arch/arm/mm/small_page.c
@@ -116,7 +116,7 @@ again:
remove_page_from_queue(page);
restore_flags(flags);
- return page_address(page) + (offset << order->shift);
+ return (unsigned long) page_address(page) + (offset << order->shift);
need_new_page:
page = alloc_page(priority);