diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-11 01:48:37 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-11 01:48:37 -0400 |
commit | 1a04392bd6439876b1552793389cbb5be356ea54 (patch) | |
tree | 12af7b77e3b0848127f2d2871778c9c1f315578a /mm/page_alloc.c | |
parent | 68399bb5080c1d96f2110b0a040b39d3ccd7a18a (diff) | |
parent | 3c92c2ba33cd7d666c5f83cc32aa590e794e91b0 (diff) |
Merge branch 'master'
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index ae2903339e71..cc1fe2672a31 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -671,7 +671,7 @@ void fastcall free_cold_page(struct page *page) | |||
671 | free_hot_cold_page(page, 1); | 671 | free_hot_cold_page(page, 1); |
672 | } | 672 | } |
673 | 673 | ||
674 | static inline void prep_zero_page(struct page *page, int order, unsigned int __nocast gfp_flags) | 674 | static inline void prep_zero_page(struct page *page, int order, gfp_t gfp_flags) |
675 | { | 675 | { |
676 | int i; | 676 | int i; |
677 | 677 | ||
@@ -686,7 +686,7 @@ static inline void prep_zero_page(struct page *page, int order, unsigned int __n | |||
686 | * or two. | 686 | * or two. |
687 | */ | 687 | */ |
688 | static struct page * | 688 | static struct page * |
689 | buffered_rmqueue(struct zone *zone, int order, unsigned int __nocast gfp_flags) | 689 | buffered_rmqueue(struct zone *zone, int order, gfp_t gfp_flags) |
690 | { | 690 | { |
691 | unsigned long flags; | 691 | unsigned long flags; |
692 | struct page *page = NULL; | 692 | struct page *page = NULL; |
@@ -761,7 +761,7 @@ int zone_watermark_ok(struct zone *z, int order, unsigned long mark, | |||
761 | } | 761 | } |
762 | 762 | ||
763 | static inline int | 763 | static inline int |
764 | should_reclaim_zone(struct zone *z, unsigned int gfp_mask) | 764 | should_reclaim_zone(struct zone *z, gfp_t gfp_mask) |
765 | { | 765 | { |
766 | if (!z->reclaim_pages) | 766 | if (!z->reclaim_pages) |
767 | return 0; | 767 | return 0; |
@@ -774,7 +774,7 @@ should_reclaim_zone(struct zone *z, unsigned int gfp_mask) | |||
774 | * This is the 'heart' of the zoned buddy allocator. | 774 | * This is the 'heart' of the zoned buddy allocator. |
775 | */ | 775 | */ |
776 | struct page * fastcall | 776 | struct page * fastcall |
777 | __alloc_pages(unsigned int __nocast gfp_mask, unsigned int order, | 777 | __alloc_pages(gfp_t gfp_mask, unsigned int order, |
778 | struct zonelist *zonelist) | 778 | struct zonelist *zonelist) |
779 | { | 779 | { |
780 | const int wait = gfp_mask & __GFP_WAIT; | 780 | const int wait = gfp_mask & __GFP_WAIT; |
@@ -977,7 +977,7 @@ EXPORT_SYMBOL(__alloc_pages); | |||
977 | /* | 977 | /* |
978 | * Common helper functions. | 978 | * Common helper functions. |
979 | */ | 979 | */ |
980 | fastcall unsigned long __get_free_pages(unsigned int __nocast gfp_mask, unsigned int order) | 980 | fastcall unsigned long __get_free_pages(gfp_t gfp_mask, unsigned int order) |
981 | { | 981 | { |
982 | struct page * page; | 982 | struct page * page; |
983 | page = alloc_pages(gfp_mask, order); | 983 | page = alloc_pages(gfp_mask, order); |
@@ -988,7 +988,7 @@ fastcall unsigned long __get_free_pages(unsigned int __nocast gfp_mask, unsigned | |||
988 | 988 | ||
989 | EXPORT_SYMBOL(__get_free_pages); | 989 | EXPORT_SYMBOL(__get_free_pages); |
990 | 990 | ||
991 | fastcall unsigned long get_zeroed_page(unsigned int __nocast gfp_mask) | 991 | fastcall unsigned long get_zeroed_page(gfp_t gfp_mask) |
992 | { | 992 | { |
993 | struct page * page; | 993 | struct page * page; |
994 | 994 | ||