Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Viro <viro@parcelfarce.linux.theplanet.co.uk>2005-02-10 03:08:35 -0800
committerDavid S. Miller <davem@nuts.davemloft.net>2005-02-10 03:08:35 -0800
commit381f1041d4bd316266ca5263d08ea9c7be52df89 (patch)
treea62da36848e614e4d98b32d778127c9577a50c90
parentee2cff8d03c9129511ba72407c27735a6a5b9f25 (diff)
[SPARC]: No iBCS2 on sparc, TYVM...
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--arch/sparc/kernel/sys_sparc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc/kernel/sys_sparc.c b/arch/sparc/kernel/sys_sparc.c
index a17dbc3a1227..09a0db77ec90 100644
--- a/arch/sparc/kernel/sys_sparc.c
+++ b/arch/sparc/kernel/sys_sparc.c
@@ -197,8 +197,7 @@ asmlinkage int sys_ipc (uint call, int first, int second, int third, void __user
goto out;
}
case 1: /* iBCS2 emulator entry point */
- err = do_shmat (first, (char __user *) ptr,
- second, (ulong *) third);
+ err = -EINVAL;
goto out;
}
case SHMDT: