X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=ipc%2Fipc_sysctl.c;h=7f4235bed51bd92323cc6807ca68171c283633e2;hb=ae531c26c5c2a28ca1b35a75b39b3b256850f2c8;hp=a88934a1b76906e71663f163cd175ab5bce8c0dd;hpb=f8abea8f8c24ecdad6d6861bffb912f23f2741cd;p=linux-2.6-omap-h63xx.git diff --git a/ipc/ipc_sysctl.c b/ipc/ipc_sysctl.c index a88934a1b76..7f4235bed51 100644 --- a/ipc/ipc_sysctl.c +++ b/ipc/ipc_sysctl.c @@ -14,8 +14,8 @@ #include #include #include +#include -#ifdef CONFIG_IPC_NS static void *get_ipc(ctl_table *table) { char *which = table->data; @@ -23,9 +23,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,