int what, error;
linux_sys_ipc(p, v, retval)	struct proc *p;	void *v;	register_t *retval;{	struct linux_sys_ipc_args /* {		syscallarg(int) what;		syscallarg(int) a1;		syscallarg(int) a2;		syscallarg(int) a3;		syscallarg(caddr_t) ptr;	} */ *uap = v;	int what, error;	switch (SCARG(uap, what)) {#ifdef SYSVSEM	case LINUX_SYS_semop:		return linux_semop(p, uap, retval);	case LINUX_SYS_semget:		return linux_semget(p, uap, retval);	case LINUX_SYS_semctl:		return linux_semctl(p, uap, retval);#endif#ifdef SYSVMSG	case LINUX_SYS_msgsnd:		return linux_msgsnd(p, uap, retval);	case LINUX_SYS_msgrcv:		return linux_msgrcv(p, uap, retval);	case LINUX_SYS_msgget:		return linux_msgget(p, uap, retval);	case LINUX_SYS_msgctl:		return linux_msgctl(p, uap, retval);#endif#ifdef SYSVSHM	case LINUX_SYS_shmat:		return linux_shmat(p, uap, retval);	case LINUX_SYS_shmdt:		return linux_shmdt(p, uap, retval);	case LINUX_SYS_shmget:		return linux_shmget(p, uap, retval);	case LINUX_SYS_shmctl:		return linux_shmctl(p, uap, retval);#endif	default:		return ENOSYS;	}}