Re: [PATCH -next] zsmalloc: Include linux/sched.h to fix build error
Hello Guenter, On Tue, Mar 10, 2015 at 08:41:02PM -0700, Guenter Roeck wrote: > 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 > Signed-off-by: Guenter Roeck Thanks for the fixing! A few hours ago, Geert Uytterhoeven sent a patch. http://www.spinics.net/lists/linux-mm/msg85571.html Thanks. -- Kind regards, Minchan Kim -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH -next] zsmalloc: Include linux/sched.h to fix build error
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 Signed-off-by: Guenter Roeck --- 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 #include #include +#include #include #include -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH -next] zsmalloc: Include linux/sched.h to fix build error
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 minc...@kernel.org Signed-off-by: Guenter Roeck li...@roeck-us.net --- 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 from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH -next] zsmalloc: Include linux/sched.h to fix build error
Hello Guenter, On Tue, Mar 10, 2015 at 08:41:02PM -0700, Guenter Roeck wrote: 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 minc...@kernel.org Signed-off-by: Guenter Roeck li...@roeck-us.net Thanks for the fixing! A few hours ago, Geert Uytterhoeven sent a patch. http://www.spinics.net/lists/linux-mm/msg85571.html Thanks. -- Kind regards, Minchan Kim -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/