Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932134Ab1EOWXv (ORCPT ); Sun, 15 May 2011 18:23:51 -0400 Received: from mout.perfora.net ([74.208.4.195]:55286 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761195Ab1EOWWr (ORCPT ); Sun, 15 May 2011 18:22:47 -0400 From: Stephen Wilson To: Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, KOSAKI Motohiro , Stephen Wilson , Hugh Dickins , David Rientjes , Lee Schermerhorn , Alexey Dobriyan , Christoph Lameter Subject: [PATCH v2 8/9] proc: make struct proc_maps_private truly private Date: Sun, 15 May 2011 18:20:28 -0400 Message-Id: <1305498029-11677-9-git-send-email-wilsons@start.ca> X-Mailer: git-send-email 1.7.4.4 In-Reply-To: <1305498029-11677-1-git-send-email-wilsons@start.ca> References: <1305498029-11677-1-git-send-email-wilsons@start.ca> X-Provags-ID: V02:K0:S7jiH70O8PdegH+cLhdDliFbOlbybFa7eNt3aXFuA4r RFPVxZk+mS4QcCHrElujHMFR7PPJN+WBWPv9jYD3jPIyHB82hW jQY2q+YSaS/JXp29leRPjiWZhSof+/qCKBKtjcPhKjJFuA4T/R KK9pUNlURk4SBStjNTKmy32/bMsFxYZmaYsgicfZxm05TLKAfi b4S3d81/eDxZVRhS9sNcMBjw+dk8qCVTYIN72/dMdk= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1826 Lines: 56 Now that mm/mempolicy.c is no longer implementing /proc/pid/numa_maps there is no need to export struct proc_maps_private to the world. Move it to fs/proc/internal.h instead. Signed-off-by: Stephen Wilson Reviewed-by: KOSAKI Motohiro Cc: Hugh Dickins Cc: David Rientjes Cc: Lee Schermerhorn Cc: Alexey Dobriyan Cc: Christoph Lameter --- fs/proc/internal.h | 7 +++++++ include/linux/proc_fs.h | 8 -------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/fs/proc/internal.h b/fs/proc/internal.h index 96245a1..360223f 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h @@ -137,3 +137,10 @@ int proc_setattr(struct dentry *dentry, struct iattr *attr); extern const struct inode_operations proc_ns_dir_inode_operations; extern const struct file_operations proc_ns_dir_operations; +struct proc_maps_private { + struct pid *pid; + struct task_struct *task; +#ifdef CONFIG_MMU + struct vm_area_struct *tail_vma; +#endif +}; diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index 5bdfd39..6ba9e31 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h @@ -288,12 +288,4 @@ static inline struct net *PDE_NET(struct proc_dir_entry *pde) return pde->parent->data; } -struct proc_maps_private { - struct pid *pid; - struct task_struct *task; -#ifdef CONFIG_MMU - struct vm_area_struct *tail_vma; -#endif -}; - #endif /* _LINUX_PROC_FS_H */ -- 1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/