Fix: mm/zsmalloc.c: In function '__zs_compact': mm/zsmalloc.c:1747:2: error: implicit declaration of function 'cond_resched' seen when building mips:allmodconfig. Fixes: c4d204c38734 ("zsmalloc: support compaction") Cc: Minchan Kim <minchan@xxxxxxxxxx> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx> --- mm/zsmalloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index 73400f0..b663a8b 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -94,6 +94,7 @@ #include <linux/spinlock.h> #include <linux/types.h> #include <linux/debugfs.h> +#include <linux/sched.h> #include <linux/zsmalloc.h> #include <linux/zpool.h> -- 2.1.0 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>