summaryrefslogtreecommitdiff
path: root/include/linux/mmzone.h
diff options
context:
space:
mode:
authorAnton Vorontsov <anton@enomsg.org>2013-03-25 07:06:35 +0400
committerAnton Vorontsov <anton@enomsg.org>2013-03-25 07:06:35 +0400
commit6e997bb894beef128fcfe1679e0830f97dee6dc2 (patch)
tree078d95af4d30b5e3d5b1db18de215489b26e01ce /include/linux/mmzone.h
parentc6cc9fc9d42ec82da2c770f0bef1488dc467f29c (diff)
parent92413a9bee1299cedcc0e5cfbfbc6b42496fb817 (diff)
downloadlinux-6e997bb894beef128fcfe1679e0830f97dee6dc2.tar.xz
Merge branch 'urgent'
Conflicts: drivers/power/pm2301_charger.c
Diffstat (limited to 'include/linux/mmzone.h')
-rw-r--r--include/linux/mmzone.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index ede274957e05..c74092eebf5c 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -527,7 +527,7 @@ static inline int zone_is_oom_locked(const struct zone *zone)
return test_bit(ZONE_OOM_LOCKED, &zone->flags);
}
-static inline unsigned zone_end_pfn(const struct zone *zone)
+static inline unsigned long zone_end_pfn(const struct zone *zone)
{
return zone->zone_start_pfn + zone->spanned_pages;
}