Source-Changes-HG archive

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

[src/netbsd-3]: src/sys/arch/sparc64/sparc64 Pull up revision 1.51 (requested...



details:   https://anonhg.NetBSD.org/src/rev/addc134de31a
branches:  netbsd-3
changeset: 576616:addc134de31a
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Jul 13 09:28:15 2005 +0000

description:
Pull up revision 1.51 (requested by martin in ticket #585):
Make sure we get the SUN4U version of the sparc frame.h defines.
(Otherwise frame32 is undefined and compilation of the netbsd32 lkm
fails.)

diffstat:

 sys/arch/sparc64/sparc64/netbsd32_machdep.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r fc92267a1cb0 -r addc134de31a sys/arch/sparc64/sparc64/netbsd32_machdep.c
--- a/sys/arch/sparc64/sparc64/netbsd32_machdep.c       Tue Jul 12 19:08:47 2005 +0000
+++ b/sys/arch/sparc64/sparc64/netbsd32_machdep.c       Wed Jul 13 09:28:15 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_machdep.c,v 1.44.10.1 2005/07/11 11:36:16 tron Exp $  */
+/*     $NetBSD: netbsd32_machdep.c,v 1.44.10.2 2005/07/13 09:28:15 tron Exp $  */
 
 /*
  * Copyright (c) 1998, 2001 Matthew R. Green
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.44.10.1 2005/07/11 11:36:16 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.44.10.2 2005/07/13 09:28:15 tron Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -70,6 +70,9 @@
 #include <compat/netbsd32/netbsd32_syscallargs.h>
 #include <compat/netbsd32/netbsd32_exec.h>
 
+#ifndef SUN4U
+#define SUN4U  /* see .../sparc/include/frame.h for the reason */
+#endif
 #include <machine/frame.h>
 #include <machine/reg.h>
 #include <machine/vmparam.h>



Home | Main Index | Thread Index | Old Index