From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by kanga.kvack.org (Postfix) with ESMTP id 8818C6B0095 for ; Tue, 10 Mar 2015 23:41:13 -0400 (EDT) Received: by obbnt9 with SMTP id nt9so6226071obb.12 for ; Tue, 10 Mar 2015 20:41:13 -0700 (PDT) Received: from bh-25.webhostbox.net (bh-25.webhostbox.net. [208.91.199.152]) by mx.google.com with ESMTPS id zc5si996183oec.52.2015.03.10.20.41.12 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Mar 2015 20:41:12 -0700 (PDT) Received: from mailnull by bh-25.webhostbox.net with sa-checked (Exim 4.82) (envelope-from ) id 1YVXWB-002ucJ-VK for linux-mm@kvack.org; Wed, 11 Mar 2015 03:41:12 +0000 From: Guenter Roeck Subject: [PATCH -next] zsmalloc: Include linux/sched.h to fix build error Date: Tue, 10 Mar 2015 20:41:02 -0700 Message-Id: <1426045262-14739-1-git-send-email-linux@roeck-us.net> Sender: owner-linux-mm@kvack.org List-ID: To: Minchan Kim Cc: Nitin Gupta , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Guenter Roeck 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, 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: email@kvack.org