Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/m68k/m68k Un-ifdef COMPAT_AOUT_M68K for MODULAR ker...



details:   https://anonhg.NetBSD.org/src/rev/664c7873dda0
branches:  trunk
changeset: 758033:664c7873dda0
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Thu Oct 14 16:34:29 2010 +0000

description:
Un-ifdef COMPAT_AOUT_M68K for MODULAR kernel.

diffstat:

 sys/arch/m68k/m68k/m68k_syscall.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (44 lines):

diff -r cb5d77cc397b -r 664c7873dda0 sys/arch/m68k/m68k/m68k_syscall.c
--- a/sys/arch/m68k/m68k/m68k_syscall.c Thu Oct 14 16:33:50 2010 +0000
+++ b/sys/arch/m68k/m68k/m68k_syscall.c Thu Oct 14 16:34:29 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: m68k_syscall.c,v 1.41 2010/04/26 15:07:01 tsutsui Exp $        */
+/*     $NetBSD: m68k_syscall.c,v 1.42 2010/10/14 16:34:29 tsutsui Exp $        */
 
 /*-
  * Portions Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -110,7 +110,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: m68k_syscall.c,v 1.41 2010/04/26 15:07:01 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: m68k_syscall.c,v 1.42 2010/10/14 16:34:29 tsutsui Exp $");
 
 #include "opt_execfmt.h"
 #include "opt_compat_netbsd.h"
@@ -144,9 +144,7 @@
 
 void syscall(register_t, struct frame);
 
-#ifdef COMPAT_AOUT_M68K
 void   aoutm68k_syscall_intern(struct proc *);
-#endif
 static void syscall_plain(register_t, struct lwp *, struct frame *);
 static void syscall_fancy(register_t, struct lwp *, struct frame *);
 
@@ -192,7 +190,6 @@
                p->p_md.md_syscall = syscall_plain;
 }
 
-#ifdef COMPAT_AOUT_M68K
 /*
  * Not worth the effort of a whole new set of syscall_{plain,fancy} functions
  */
@@ -205,7 +202,6 @@
        else
                p->p_md.md_syscall = syscall_plain;
 }
-#endif
 
 static void
 syscall_plain(register_t code, struct lwp *l, struct frame *frame)



Home | Main Index | Thread Index | Old Index