Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp726613pxb; Tue, 8 Feb 2022 00:43:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwd49S8eRakDnhe7okGBze67BQZ9QqR77XRk0Iawm3jYOpaJ15zP5CEbI5OpgSZMgkRBk6y X-Received: by 2002:aa7:828c:: with SMTP id s12mr1009594pfm.6.1644309828829; Tue, 08 Feb 2022 00:43:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644309828; cv=none; d=google.com; s=arc-20160816; b=JxsDFVgzIMZ+HcfWsyhrtSKCP2BQKYT3o/3KwRpvcw4cHGp0q22KxYYsMYr2SI88BC MQ6elIrP33vtm/q1lCaidth+DhmfzI9crzCgESjfOVyVnm/nt9AWYhZnLIQ+FlBDolYn 9QHtkjGRooTd05cszyp9DKKsbJTenuplI5USzTZ8Dg7mt0W7VmBoTfa6MpD1nReWlZD6 8ceN3ebp7dmLP27BSisnUcUl8mhmdEkbJW9cGR+WbFO/TkmEG0NABix3/mERBxAvWmu9 drV7MdnH1fempm6p7Q1TTyZLlJihhN+0zQTPd4O96mvkcXowZsPsRgfJB7LRkHFBlhev vGyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wqaArwblmIFSHxUdNBNekbGuuQV19X++bRGa4XtI21U=; b=MTzYBq55Hbta/bH6FsPiZygxhWzAMqhY3okPl98PownkgJ5x3/o3ojrQhSr3X4ZsKa 8+2U72Y4bG7JT6AqbEdDUeWcnh4oAJ8R1V5KA9TvpyAT5c0wKpTR4IPvakYPAnMGkDtN jtgaz1Gzjfxg8zdcUToNgPZGCxVjJkg531A1GYMw0TuKV/1OGL5bqPWMP75Id7Kmly/p 1yWGMOX7v+FJp9ypOoyvmMHtHm+UsoNCBvrywLVVILm7J4SqFEEU9WRRtHIbIEMD3TcW jupuJGwRyGwIa8xUF8JY45W5P1lhrcKMoMt8pUCJQhK0MEKdJMz5mepbMvtVFcEMvp5Q LDiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=lxdZaX9H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u186si523560pgd.749.2022.02.08.00.43.36; Tue, 08 Feb 2022 00:43:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=lxdZaX9H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352258AbiBGGhT (ORCPT + 99 others); Mon, 7 Feb 2022 01:37:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234983AbiBGGdK (ORCPT ); Mon, 7 Feb 2022 01:33:10 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D785C043187 for ; Sun, 6 Feb 2022 22:33:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=wqaArwblmIFSHxUdNBNekbGuuQV19X++bRGa4XtI21U=; b=lxdZaX9HdECBxS8xbH3caitLbH PgJ/rcSWAsPKp0w4j5ndf9woh4inxdIS2JIDFXPeAEbv6jdzH9Jo2ntSfHkuj6mUQ7HTrOAokh5qc 4is/Xb5dtZG07+ioaAog0Tey/v1edHRBpVlQ/9G50rLriinhvV/d9n8u3P6DkytAHoAIRzQrVcWVu qUeK/m7kl6g5AO82aINiKwrYAOVXXo11IEJlHfxptb1ZQ4JeiUUJojms+atQUIJLsKgoZPQaQcKqS Ppu19zrTCt3BV/fiLaL5lgHLtEmxSGihd4Tx+0ttgGEEJ7i2vxcU+OqN3HDnjubScKNcKlfoiC4Nm uoHWy8CQ==; Received: from [2001:4bb8:188:3efc:2cbe:55d7:bb63:46d2] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nGxa4-0099Hh-Pj; Mon, 07 Feb 2022 06:32:57 +0000 From: Christoph Hellwig To: Andrew Morton , Dan Williams Cc: Felix Kuehling , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , "Pan, Xinhui" , Ben Skeggs , Karol Herbst , Lyude Paul , Jason Gunthorpe , Alistair Popple , Logan Gunthorpe , Ralph Campbell , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, nvdimm@lists.linux.dev, linux-mm@kvack.org Subject: [PATCH 2/8] mm: remove the __KERNEL__ guard from Date: Mon, 7 Feb 2022 07:32:43 +0100 Message-Id: <20220207063249.1833066-3-hch@lst.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220207063249.1833066-1-hch@lst.de> References: <20220207063249.1833066-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org __KERNEL__ ifdefs don't make sense outside of include/uapi/. Signed-off-by: Christoph Hellwig --- include/linux/mm.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 213cc569b19223..7b46174989b086 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -3,9 +3,6 @@ #define _LINUX_MM_H #include - -#ifdef __KERNEL__ - #include #include #include @@ -3381,5 +3378,4 @@ madvise_set_anon_name(struct mm_struct *mm, unsigned long start, } #endif -#endif /* __KERNEL__ */ #endif /* _LINUX_MM_H */ -- 2.30.2