-/* $NetBSD: trap.c,v 1.89.2.1 1995/10/15 06:54:03 mycroft Exp $ */
+/* $NetBSD: trap.c,v 1.91 1995/12/09 05:00:27 mycroft Exp $ */
#undef DEBUG
#define DEBUG
struct trapframe frame;
{
-#ifdef COMPAT_LINUX
- if (p->p_emul == &emul_linux_aout || p->p_emul == &emul_linux_elf) {
- frame.tf_eax = 0;
- frame.tf_edx = 0;
- } else
-#endif
- {
- frame.tf_eax = p->p_pid;
- frame.tf_edx = 1;
- }
+ frame.tf_eax = 0;
frame.tf_eflags &= ~PSL_C;
userret(p, frame.tf_eip, 0);