From patchwork Wed Oct 16 09:15:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 11192737 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1AB4E17E1 for ; Wed, 16 Oct 2019 09:15:16 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id F251F2168B for ; Wed, 16 Oct 2019 09:15:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F251F2168B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 3951E8E0005; Wed, 16 Oct 2019 05:15:15 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 345BB8E0001; Wed, 16 Oct 2019 05:15:15 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 25B2F8E0005; Wed, 16 Oct 2019 05:15:15 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0223.hostedemail.com [216.40.44.223]) by kanga.kvack.org (Postfix) with ESMTP id F3E608E0001 for ; Wed, 16 Oct 2019 05:15:14 -0400 (EDT) Received: from smtpin12.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with SMTP id 8906E183084B4 for ; Wed, 16 Oct 2019 09:15:14 +0000 (UTC) X-FDA: 76049088948.12.silk81_2db5b64b69753 X-Spam-Summary: 2,0,0,64ffd79e55af3c67,d41d8cd98f00b204,ben@codethink.co.uk,:linux-kernel@lists.codethink.co.uk:ben.dooks@codethink.co.uk:akpm@linux-foundation.org::linux-kernel@vger.kernel.org,RULES_HIT:41:334:355:368:369:379:541:800:960:973:988:989:1260:1311:1314:1345:1431:1515:1534:1539:1567:1711:1714:1730:1747:1777:1792:2307:2393:2559:2562:3138:3139:3140:3141:3142:3165:3865:3866:3867:3872:4321:5007:6261:7652:9010:10004:11026:11232:11658:11914:12114:12297:12438:12517:12519:12555:12679:12895:12986:13069:13311:13357:13846:13894:14096:14181:14384:14394:14571:14721:21080:21451:21627:30054:30089,0,RBL:176.9.8.82:@codethink.co.uk:.lbl8.mailshell.net-62.14.6.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:26,LUA_SUMMARY:none X-HE-Tag: silk81_2db5b64b69753 X-Filterd-Recvd-Size: 1864 Received: from imap1.codethink.co.uk (imap1.codethink.co.uk [176.9.8.82]) by imf37.hostedemail.com (Postfix) with ESMTP for ; Wed, 16 Oct 2019 09:15:13 +0000 (UTC) Received: from [167.98.27.226] (helo=rainbowdash.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iKfOh-0001AB-75; Wed, 16 Oct 2019 10:15:11 +0100 Received: from ben by rainbowdash.codethink.co.uk with local (Exim 4.92.2) (envelope-from ) id 1iKfOg-0006xX-Gi; Wed, 16 Oct 2019 10:15:10 +0100 From: "Ben Dooks (Codethink)" To: linux-kernel@lists.codethink.co.uk Cc: "Ben Dooks (Codethink)" , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] mm: include for vm_committed_as_batch Date: Wed, 16 Oct 2019 10:15:09 +0100 Message-Id: <20191016091509.26708-1-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: mm_init.c needs to include for the definition of vm_committed_as_batch. Fixes the following sparse warning: mm/mm_init.c:141:5: warning: symbol 'vm_committed_as_batch' was not declared. Should it be static? Signed-off-by: Ben Dooks --- Cc: Andrew Morton Cc: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org --- mm/init-mm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/init-mm.c b/mm/init-mm.c index fb1e15028ef0..19603302a77f 100644 --- a/mm/init-mm.c +++ b/mm/init-mm.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include