linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] zsmalloc: Add missing #include <linux/sched.h>
@ 2015-03-10 21:46 Geert Uytterhoeven
  2015-03-10 23:15 ` Minchan Kim
  0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2015-03-10 21:46 UTC (permalink / raw)
  To: Minchan Kim, Nitin Gupta, Andrew Morton
  Cc: linux-mm, linux-next, Geert Uytterhoeven

mips/allmodconfig:

mm/zsmalloc.c: In function '__zs_compact':
mm/zsmalloc.c:1747:2: error: implicit declaration of function
'cond_resched' [-Werror=implicit-function-declaration]

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
http://kisskb.ellerman.id.au/kisskb/buildresult/12379881/
---
 mm/zsmalloc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index 73400f0534a773e7..dccc20c208725548 100644
--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.c
@@ -91,6 +91,7 @@
 #include <linux/cpu.h>
 #include <linux/vmalloc.h>
 #include <linux/hardirq.h>
+#include <linux/sched.h>
 #include <linux/spinlock.h>
 #include <linux/types.h>
 #include <linux/debugfs.h>
-- 
1.9.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] zsmalloc: Add missing #include <linux/sched.h>
  2015-03-10 21:46 [PATCH] zsmalloc: Add missing #include <linux/sched.h> Geert Uytterhoeven
@ 2015-03-10 23:15 ` Minchan Kim
  2015-03-11  4:48   ` Stephen Rothwell
  0 siblings, 1 reply; 3+ messages in thread
From: Minchan Kim @ 2015-03-10 23:15 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Nitin Gupta, Andrew Morton, linux-mm, linux-next

On Tue, Mar 10, 2015 at 10:46:31PM +0100, Geert Uytterhoeven wrote:
> mips/allmodconfig:
> 
> mm/zsmalloc.c: In function '__zs_compact':
> mm/zsmalloc.c:1747:2: error: implicit declaration of function
> 'cond_resched' [-Werror=implicit-function-declaration]
> 
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Minchan Kim <minchan@kernel.org>

Thanks!

-- 
Kind regards,
Minchan Kim

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] zsmalloc: Add missing #include <linux/sched.h>
  2015-03-10 23:15 ` Minchan Kim
@ 2015-03-11  4:48   ` Stephen Rothwell
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2015-03-11  4:48 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Minchan Kim, Nitin Gupta, Andrew Morton, linux-mm, linux-next

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

Hi Geert,

On Wed, 11 Mar 2015 08:15:57 +0900 Minchan Kim <minchan@kernel.org> wrote:
>
> On Tue, Mar 10, 2015 at 10:46:31PM +0100, Geert Uytterhoeven wrote:
> > mips/allmodconfig:
> > 
> > mm/zsmalloc.c: In function '__zs_compact':
> > mm/zsmalloc.c:1747:2: error: implicit declaration of function
> > 'cond_resched' [-Werror=implicit-function-declaration]
> > 
> > Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Acked-by: Minchan Kim <minchan@kernel.org>

Added to my copy of Andrew's tree (and thus linux-next) today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-11  4:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-10 21:46 [PATCH] zsmalloc: Add missing #include <linux/sched.h> Geert Uytterhoeven
2015-03-10 23:15 ` Minchan Kim
2015-03-11  4:48   ` Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox