patch-2.4.25 linux-2.4.25/arch/sparc64/kernel/sys_sparc32.c
Next file: linux-2.4.25/arch/sparc64/lib/VIScopy.S
Previous file: linux-2.4.25/arch/sparc64/kernel/setup.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
2004-02-18 05:36:31.000000000 -0800
- Orig file:
linux-2.4.24/arch/sparc64/kernel/sys_sparc32.c
- Orig date:
2003-11-28 10:26:19.000000000 -0800
diff -urN linux-2.4.24/arch/sparc64/kernel/sys_sparc32.c linux-2.4.25/arch/sparc64/kernel/sys_sparc32.c
@@ -4454,6 +4454,9 @@
extern asmlinkage long sys32_sysctl(struct __sysctl_args32 *args)
{
+#ifndef CONFIG_SYSCTL
+ return -ENOSYS;
+#else
struct __sysctl_args32 tmp;
int error;
size_t oldlen, *oldlenp = NULL;
@@ -4488,4 +4491,5 @@
copy_to_user(args->__unused, tmp.__unused, sizeof(tmp.__unused));
}
return error;
+#endif
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)