X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=kernel%2Futsname_sysctl.c;h=4f69f9a5e221a94901bf3b658efbac066c676371;hb=e0debf9cb50d5e99bb21564627061076869b79ee;hp=63da38c2d820920b270cc2f469b965e445fecc05;hpb=ddddefa99db4ae54a63dcd737d224bc3cc0f2d8a;p=cascardo%2Flinux.git diff --git a/kernel/utsname_sysctl.c b/kernel/utsname_sysctl.c index 63da38c2d820..4f69f9a5e221 100644 --- a/kernel/utsname_sysctl.c +++ b/kernel/utsname_sysctl.c @@ -15,6 +15,8 @@ #include #include +#ifdef CONFIG_PROC_SYSCTL + static void *get_uts(ctl_table *table, int write) { char *which = table->data; @@ -38,7 +40,6 @@ static void put_uts(ctl_table *table, int write, void *which) up_write(&uts_sem); } -#ifdef CONFIG_PROC_SYSCTL /* * Special case of dostring for the UTS structure. This has locks * to observe. Should this be in kernel/sys.c ????