]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/utsname_sysctl.c
[ARM] 4679/1: AT91: Change maintainer email address
[linux-2.6-omap-h63xx.git] / kernel / utsname_sysctl.c
index f22b9dbd2a9c734163d65f60b1ef67c1b5259858..c76c06466bfd07fe11fab8a592075ac0a38b807b 100644 (file)
 static void *get_uts(ctl_table *table, int write)
 {
        char *which = table->data;
-#ifdef CONFIG_UTS_NS
-       struct uts_namespace *uts_ns = current->nsproxy->uts_ns;
-       which = (which - (char *)&init_uts_ns) + (char *)uts_ns;
-#endif
+
        if (!write)
                down_read(&uts_sem);
        else