Commit 96fd6d6a authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by David Mosberger

[PATCH] ia64: IA32 support without sysctl doesn't work

Make CONFIG_SYSCTL control sys32_sysctl as well.  Based on a patch from Peter Chubb.
parent 02acabb3
......@@ -3151,6 +3151,7 @@ extern asmlinkage long sys_sysctl(struct __sysctl_args *args);
asmlinkage long
sys32_sysctl (struct sysctl32 *args)
{
#ifdef CONFIG_SYSCTL
struct sysctl32 a32;
mm_segment_t old_fs = get_fs ();
void *oldvalp, *newvalp;
......@@ -3188,6 +3189,9 @@ sys32_sysctl (struct sysctl32 *args)
return -EFAULT;
return ret;
#else
return -ENOSYS;
#endif
}
asmlinkage long
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment