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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752150AbbCKDlR (ORCPT ); Tue, 10 Mar 2015 23:41:17 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:47549 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751710AbbCKDlN (ORCPT ); Tue, 10 Mar 2015 23:41:13 -0400 From: Guenter Roeck To: Minchan Kim Cc: Nitin Gupta , linux-mm@kvack.org, linux-kernel@vger.kernel.org, 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> X-Mailer: git-send-email 2.1.0 X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-CTCH-PVer: 0000001 X-CTCH-Spam: Unknown X-CTCH-VOD: Unknown X-CTCH-Flags: 0 X-CTCH-RefID: str=0001.0A020201.54FFB959.001D,ss=1,re=0.001,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-Score: 0.001 X-CTCH-ScoreCust: 0.000 X-CTCH-Rules: C_4847, X-CTCH-SenderID: linux@roeck-us.net X-CTCH-SenderID-Flags: 0 X-CTCH-SenderID-TotalMessages: 4 X-CTCH-SenderID-TotalSpam: 0 X-CTCH-SenderID-TotalSuspected: 0 X-CTCH-SenderID-TotalConfirmed: 0 X-CTCH-SenderID-TotalBulk: 0 X-CTCH-SenderID-TotalVirus: 0 X-CTCH-SenderID-TotalRecipients: 0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: mailgid no entry from get_relayhosts_entry X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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