From mboxrd@z Thu Jan 1 00:00:00 1970 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=-9.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, 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 C07DBC352A3 for ; Thu, 13 Feb 2020 19:56:52 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6A65221734 for ; Thu, 13 Feb 2020 19:56:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="JP10YVsz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6A65221734 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 145416B05A8; Thu, 13 Feb 2020 14:56:52 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 0F66C6B05A9; Thu, 13 Feb 2020 14:56:52 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 032BB6B05AA; Thu, 13 Feb 2020 14:56:51 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0045.hostedemail.com [216.40.44.45]) by kanga.kvack.org (Postfix) with ESMTP id DF5126B05A8 for ; Thu, 13 Feb 2020 14:56:51 -0500 (EST) Received: from smtpin02.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 834D48245571 for ; Thu, 13 Feb 2020 19:56:51 +0000 (UTC) X-FDA: 76486161822.02.fang57_75f99297d7f0d X-HE-Tag: fang57_75f99297d7f0d X-Filterd-Recvd-Size: 13580 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf32.hostedemail.com (Postfix) with ESMTP for ; Thu, 13 Feb 2020 19:56:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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=fL4jszYYRWEjkyJQQr4Aj+2v6EsJzhwY9yDn5JvlJS0=; b=JP10YVszhNurUk/x9E4wmwZZRT PvCGE/adS+0dkjo71g5rbuwmhqrcCMiCfQbml3k/kC+PCrOMracO+tSbh3UxZ06Aq2YdQ6K84vNJN cjmtXqAT1+5Viu2s43y6vNKZEMnzcWAmP5ZH7er74LKIVynDOZuIAsb/BeL2FwI8iW5Yis3TyoCj1 Zs6FwCvSeT6En+3+Jan6fWMj2QnytrCZnGxHYH4BPEWcxOlamLYulcamr6f1xg8q+ZyMYzrEyz8aq /TAWTTZ5ZF+AXJksHNSOA1bs6LWyd0G02XafpDoeiu+W0AFEQL0FLgNgquyhKOBFW192OhYARscEC Euv/0gGg==; Received: from willy by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1j2KbO-0008GN-Lx; Thu, 13 Feb 2020 19:56:46 +0000 From: Matthew Wilcox To: Andrew Morton , linux-mm@kvack.org Cc: "Matthew Wilcox (Oracle)" Subject: [PATCH] include: Remove highmem.h from pagemap.h Date: Thu, 13 Feb 2020 11:56:43 -0800 Message-Id: <20200213195643.31587-1-willy@infradead.org> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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: From: "Matthew Wilcox (Oracle)" pagemap.h doesn't need highmem.h itself. Only two dozen users were relying on pagemap to pull in highmem (usually for kmap), so fix them all up and we can remove this header file dependency. Signed-off-by: Matthew Wilcox (Oracle) --- drivers/char/virtio_console.c | 1 + drivers/media/pci/ivtv/ivtv-driver.h | 1 + drivers/media/v4l2-core/videobuf-dma-sg.c | 1 + .../staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c | 1 + fs/affs/affs.h | 1 + fs/ext2/namei.c | 1 + fs/freevxfs/vxfs_immed.c | 1 + fs/freevxfs/vxfs_subr.c | 1 + fs/hfs/btree.c | 1 + fs/jffs2/gc.c | 1 + fs/minix/minix.h | 1 + fs/ocfs2/symlink.c | 1 + fs/qnx6/qnx6.h | 1 + fs/read_write.c | 1 + fs/reiserfs/ioctl.c | 1 + fs/reiserfs/tail_conversion.c | 1 + fs/reiserfs/xattr.c | 3 ++- fs/squashfs/file.c | 1 + fs/squashfs/symlink.c | 1 + fs/sysv/namei.c | 1 + fs/udf/file.c | 1 + fs/ufs/ufs_fs.h | 1 + include/linux/pagemap.h | 1 - kernel/bpf/stackmap.c | 1 + lib/iov_iter.c | 1 + net/sunrpc/auth_gss/gss_krb5_wrap.c | 1 + net/sunrpc/cache.c | 1 + 27 files changed, 27 insertions(+), 2 deletions(-) diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.= c index 4df9b40d6342..40e1de830593 100644 --- a/drivers/char/virtio_console.c +++ b/drivers/char/virtio_console.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/media/pci/ivtv/ivtv-driver.h b/drivers/media/pci/ivt= v/ivtv-driver.h index e5efe525ad7b..8a40f2ae5b51 100644 --- a/drivers/media/pci/ivtv/ivtv-driver.h +++ b/drivers/media/pci/ivtv/ivtv-driver.h @@ -50,6 +50,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/media/v4l2-core/videobuf-dma-sg.c b/drivers/media/v4= l2-core/videobuf-dma-sg.c index 13b65ed9e74c..e709f140c9be 100644 --- a/drivers/media/v4l2-core/videobuf-dma-sg.c +++ b/drivers/media/v4l2-core/videobuf-dma-sg.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835= _arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm= .c index ca30bfd52919..456cba37a9b5 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include diff --git a/fs/affs/affs.h b/fs/affs/affs.h index a755bef7c4c7..6f909c20e169 100644 --- a/fs/affs/affs.h +++ b/fs/affs/affs.h @@ -8,6 +8,7 @@ #include #include #include +#include #include "amigaffs.h" #include #include diff --git a/fs/ext2/namei.c b/fs/ext2/namei.c index ccfbbf59e2fc..c17be0d2167e 100644 --- a/fs/ext2/namei.c +++ b/fs/ext2/namei.c @@ -31,6 +31,7 @@ * David S. Miller (davem@caip.rutgers.edu), 1995 */ =20 +#include #include #include #include "ext2.h" diff --git a/fs/freevxfs/vxfs_immed.c b/fs/freevxfs/vxfs_immed.c index bfc780c682fb..9b4a600abebf 100644 --- a/fs/freevxfs/vxfs_immed.c +++ b/fs/freevxfs/vxfs_immed.c @@ -32,6 +32,7 @@ */ #include #include +#include =20 #include "vxfs.h" #include "vxfs_extern.h" diff --git a/fs/freevxfs/vxfs_subr.c b/fs/freevxfs/vxfs_subr.c index e806694d4145..763344889132 100644 --- a/fs/freevxfs/vxfs_subr.c +++ b/fs/freevxfs/vxfs_subr.c @@ -34,6 +34,7 @@ #include #include #include +#include =20 #include "vxfs_extern.h" =20 diff --git a/fs/hfs/btree.c b/fs/hfs/btree.c index 19017d296173..3be8998c10fc 100644 --- a/fs/hfs/btree.c +++ b/fs/hfs/btree.c @@ -10,6 +10,7 @@ */ =20 #include +#include #include #include =20 diff --git a/fs/jffs2/gc.c b/fs/jffs2/gc.c index 373b3b7c9f44..c4b9936b02c5 100644 --- a/fs/jffs2/gc.c +++ b/fs/jffs2/gc.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/fs/minix/minix.h b/fs/minix/minix.h index df081e8afcc3..2ee63e390e52 100644 --- a/fs/minix/minix.h +++ b/fs/minix/minix.h @@ -4,6 +4,7 @@ =20 #include #include +#include #include =20 #define INODE_VERSION(inode) minix_sb(inode->i_sb)->s_version diff --git a/fs/ocfs2/symlink.c b/fs/ocfs2/symlink.c index 94cfacc9bad7..cb1acc16226d 100644 --- a/fs/ocfs2/symlink.c +++ b/fs/ocfs2/symlink.c @@ -38,6 +38,7 @@ #include #include #include +#include #include =20 #include diff --git a/fs/qnx6/qnx6.h b/fs/qnx6/qnx6.h index 34a6b126a3a9..469fcf2aacfe 100644 --- a/fs/qnx6/qnx6.h +++ b/fs/qnx6/qnx6.h @@ -19,6 +19,7 @@ =20 #include #include +#include =20 typedef __u16 __bitwise __fs16; typedef __u32 __bitwise __fs32; diff --git a/fs/read_write.c b/fs/read_write.c index 59d819c5b92e..ec041e35a59d 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/fs/reiserfs/ioctl.c b/fs/reiserfs/ioctl.c index 45e1a5d11af3..e26a17295ca3 100644 --- a/fs/reiserfs/ioctl.c +++ b/fs/reiserfs/ioctl.c @@ -9,6 +9,7 @@ #include #include #include +#include #include =20 /* diff --git a/fs/reiserfs/tail_conversion.c b/fs/reiserfs/tail_conversion.= c index b0ae088dffc7..e8eefe61a77f 100644 --- a/fs/reiserfs/tail_conversion.c +++ b/fs/reiserfs/tail_conversion.c @@ -6,6 +6,7 @@ =20 #include #include +#include #include #include "reiserfs.h" =20 diff --git a/fs/reiserfs/xattr.c b/fs/reiserfs/xattr.c index 28b241cd6987..ec9a47dbf096 100644 --- a/fs/reiserfs/xattr.c +++ b/fs/reiserfs/xattr.c @@ -37,11 +37,12 @@ #include "reiserfs.h" #include #include -#include #include #include #include #include +#include +#include #include #include #include "xattr.h" diff --git a/fs/squashfs/file.c b/fs/squashfs/file.c index 7b1128398976..a46d3dc93b1a 100644 --- a/fs/squashfs/file.c +++ b/fs/squashfs/file.c @@ -33,6 +33,7 @@ #include #include #include +#include #include =20 #include "squashfs_fs.h" diff --git a/fs/squashfs/symlink.c b/fs/squashfs/symlink.c index 1430613183e6..b7f5f2e2967d 100644 --- a/fs/squashfs/symlink.c +++ b/fs/squashfs/symlink.c @@ -22,6 +22,7 @@ #include #include #include +#include #include =20 #include "squashfs_fs.h" diff --git a/fs/sysv/namei.c b/fs/sysv/namei.c index ea2414b385ec..f458e9359dd7 100644 --- a/fs/sysv/namei.c +++ b/fs/sysv/namei.c @@ -13,6 +13,7 @@ * Copyright (C) 1997, 1998 Krzysztof G. Baranowski */ =20 +#include #include #include "sysv.h" =20 diff --git a/fs/udf/file.c b/fs/udf/file.c index 628941a6b79a..e5e339216adf 100644 --- a/fs/udf/file.c +++ b/fs/udf/file.c @@ -33,6 +33,7 @@ #include #include #include +#include #include =20 #include "udf_i.h" diff --git a/fs/ufs/ufs_fs.h b/fs/ufs/ufs_fs.h index ef9ead44776a..48a12a92acfd 100644 --- a/fs/ufs/ufs_fs.h +++ b/fs/ufs/ufs_fs.h @@ -35,6 +35,7 @@ #include #include #include +#include #include =20 #include diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h index b5db51dfc605..d0944439eae6 100644 --- a/include/linux/pagemap.h +++ b/include/linux/pagemap.h @@ -8,7 +8,6 @@ #include #include #include -#include #include #include #include diff --git a/kernel/bpf/stackmap.c b/kernel/bpf/stackmap.c index 3f958b90d914..9d9cd0ec2992 100644 --- a/kernel/bpf/stackmap.c +++ b/kernel/bpf/stackmap.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include "percpu_freelist.h" =20 diff --git a/lib/iov_iter.c b/lib/iov_iter.c index 51595bf3af85..d642640c5c25 100644 --- a/lib/iov_iter.c +++ b/lib/iov_iter.c @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include diff --git a/net/sunrpc/auth_gss/gss_krb5_wrap.c b/net/sunrpc/auth_gss/gs= s_krb5_wrap.c index 6c1920eed771..349626f9466a 100644 --- a/net/sunrpc/auth_gss/gss_krb5_wrap.c +++ b/net/sunrpc/auth_gss/gss_krb5_wrap.c @@ -34,6 +34,7 @@ #include #include #include +#include =20 #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) # define RPCDBG_FACILITY RPCDBG_AUTH diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c index bd843a81afa0..46c299f37572 100644 --- a/net/sunrpc/cache.c +++ b/net/sunrpc/cache.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include --=20 2.25.0