diff options
Diffstat (limited to 'include/linux/compaction.h')
| -rw-r--r-- | include/linux/compaction.h | 9 | 
1 files changed, 4 insertions, 5 deletions
diff --git a/include/linux/compaction.h b/include/linux/compaction.h index 6ecb6dc2f30..091d72e70d8 100644 --- a/include/linux/compaction.h +++ b/include/linux/compaction.h @@ -22,8 +22,8 @@ extern int sysctl_extfrag_handler(struct ctl_table *table, int write,  extern int fragmentation_index(struct zone *zone, unsigned int order);  extern unsigned long try_to_compact_pages(struct zonelist *zonelist,  			int order, gfp_t gfp_mask, nodemask_t *mask, -			bool sync, bool *contended, struct page **page); -extern int compact_pgdat(pg_data_t *pgdat, int order); +			bool sync, bool *contended); +extern void compact_pgdat(pg_data_t *pgdat, int order);  extern void reset_isolation_suitable(pg_data_t *pgdat);  extern unsigned long compaction_suitable(struct zone *zone, int order); @@ -75,14 +75,13 @@ static inline bool compaction_restarting(struct zone *zone, int order)  #else  static inline unsigned long try_to_compact_pages(struct zonelist *zonelist,  			int order, gfp_t gfp_mask, nodemask_t *nodemask, -			bool sync, bool *contended, struct page **page) +			bool sync, bool *contended)  {  	return COMPACT_CONTINUE;  } -static inline int compact_pgdat(pg_data_t *pgdat, int order) +static inline void compact_pgdat(pg_data_t *pgdat, int order)  { -	return COMPACT_CONTINUE;  }  static inline void reset_isolation_suitable(pg_data_t *pgdat)  |