From patchwork Tue Sep 21 08:22:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 12507375 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6DD48C433EF for ; Tue, 21 Sep 2021 08:23:35 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 0504661183 for ; Tue, 21 Sep 2021 08:23:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0504661183 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 6BF53900002; Tue, 21 Sep 2021 04:23:34 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 66EE56B0072; Tue, 21 Sep 2021 04:23:34 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 55DA1900002; Tue, 21 Sep 2021 04:23:34 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0127.hostedemail.com [216.40.44.127]) by kanga.kvack.org (Postfix) with ESMTP id 4604D6B0071 for ; Tue, 21 Sep 2021 04:23:34 -0400 (EDT) Received: from smtpin31.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 02E1B1802E6EF for ; Tue, 21 Sep 2021 08:23:33 +0000 (UTC) X-FDA: 78610891548.31.77EA7A8 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf18.hostedemail.com (Postfix) with ESMTP id B0010400208F for ; Tue, 21 Sep 2021 08:23:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=g194Vr0DbJJzl/cEBAOEB80E7ddEOgEwRtc3SehTkCM=; b=lyCSOPfKbPWW13G/HmmUiQm4IC QLe792xQKuM9NbcuvC5GyG0KUfbDE99SMG+iGV4qgI+gHx45B+kQ3VqE+I59zu2Qyu58AGIn6vY9e tuq6NT5v0x1HsztO7WudPF6/OY56AnbBqRwflD+p7JPohYY6+lU6FjV7hhUwt4snsfin0upZNbdZl ZHA0DGVwH0LHihfwbpa2LUgyRE8TaO8KkkQ/wC3IkzWVuFeC63xXmjXowE3hYO5yV05kgyyGpQxJF KN2Tg73MZY1+CWzpKlwFfgJQIdvNLuPBBP15FfKql0w378ARYnLPXX/5jIzgFUwpS19vgzGmBwmps T7gyZUvA==; Received: from [2001:4bb8:184:72db:fcf4:862e:2c86:9efc] (helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mSb3I-003dHK-63; Tue, 21 Sep 2021 08:23:08 +0000 From: Christoph Hellwig To: akpm@linux-foundation.org, naoya.horiguchi@nec.com Cc: linux-mm@kvack.org, nvdimm@lists.linux.dev Subject: [PATCH] mm: don't include in Date: Tue, 21 Sep 2021 10:22:53 +0200 Message-Id: <20210921082253.1859794-1-hch@lst.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=lyCSOPfK; spf=none (imf18.hostedemail.com: domain of BATV+7330f99b36459c2f314f+6603+infradead.org+hch@casper.srs.infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=BATV+7330f99b36459c2f314f+6603+infradead.org+hch@casper.srs.infradead.org; dmarc=none X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: B0010400208F X-Stat-Signature: pqdz74xptyu4gikkgb4z99qirw545xuy X-HE-Tag: 1632212613-696041 X-Bogosity: Ham, tests=bogofilter, spamicity=0.005838, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Not required at all, and having this causes a huge kernel rebuild as soon as something in dax.h changes. Signed-off-by: Christoph Hellwig Reviewed-by: Naoya Horiguchi Reviewed-by: Dan Williams --- include/linux/mempolicy.h | 1 - mm/memory-failure.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mempolicy.h b/include/linux/mempolicy.h index 0aaf91b496e2fe..b4992a7e1abbd7 100644 --- a/include/linux/mempolicy.h +++ b/include/linux/mempolicy.h @@ -8,7 +8,6 @@ #include #include -#include #include #include #include diff --git a/mm/memory-failure.c b/mm/memory-failure.c index 470400cc751363..adcd6d7b7233c9 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include