Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756738AbXICUWd (ORCPT ); Mon, 3 Sep 2007 16:22:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753803AbXICUW0 (ORCPT ); Mon, 3 Sep 2007 16:22:26 -0400 Received: from mtagate8.de.ibm.com ([195.212.29.157]:5954 "EHLO mtagate8.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753698AbXICUWZ (ORCPT ); Mon, 3 Sep 2007 16:22:25 -0400 Message-ID: <46DC6CFE.7020401@fr.ibm.com> Date: Mon, 03 Sep 2007 22:22:22 +0200 From: Cedric Le Goater User-Agent: Thunderbird 2.0.0.5 (X11/20070719) MIME-Version: 1.0 To: Linux Kernel Mailing List CC: Andrew Morton , "Eric W. Biederman" , "Robert P. J. Day" Subject: [PATCH -mm] ipc namespace: remove config ipc ns fix Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1202 Lines: 41 Finish the work : kill all #ifdef CONFIG_IPC_NS. Thanks Robert ! C. Signed-off-by: Cedric Le Goater Cc: Andrew Morton Cc: Eric Biederman Cc: Robert P. J. Day --- ipc/ipc_sysctl.c | 4 ---- 1 file changed, 4 deletions(-) Index: 2.6.23-rc4-mm1/ipc/ipc_sysctl.c =================================================================== --- 2.6.23-rc4-mm1.orig/ipc/ipc_sysctl.c +++ 2.6.23-rc4-mm1/ipc/ipc_sysctl.c @@ -15,7 +15,6 @@ #include #include -#ifdef CONFIG_IPC_NS static void *get_ipc(ctl_table *table) { char *which = table->data; @@ -23,9 +22,6 @@ static void *get_ipc(ctl_table *table) which = (which - (char *)&init_ipc_ns) + (char *)ipc_ns; return which; } -#else -#define get_ipc(T) ((T)->data) -#endif #ifdef CONFIG_PROC_FS static int proc_ipc_dointvec(ctl_table *table, int write, struct file *filp, - 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/