Source-Changes-HG archive

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

[src/trunk]: src install <machine/intr.h> for crash(8).



details:   https://anonhg.NetBSD.org/src/rev/8211bfd69b5d
branches:  trunk
changeset: 764163:8211bfd69b5d
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Apr 13 03:24:28 2011 +0000

description:
install <machine/intr.h> for crash(8).

(we could avoid this, but it would require a lot of contortions that
make the header files ugly.  maybe someone else can figure out a less
ugly way of doing this later.)

diffstat:

 distrib/sets/lists/comp/md.sparc64 |  3 ++-
 sys/arch/sparc64/include/Makefile  |  4 ++--
 sys/arch/sparc64/include/intr.h    |  6 +++++-
 3 files changed, 9 insertions(+), 4 deletions(-)

diffs (62 lines):

diff -r 179ad1ff8e67 -r 8211bfd69b5d distrib/sets/lists/comp/md.sparc64
--- a/distrib/sets/lists/comp/md.sparc64        Wed Apr 13 03:22:49 2011 +0000
+++ b/distrib/sets/lists/comp/md.sparc64        Wed Apr 13 03:24:28 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.sparc64,v 1.90 2011/03/24 17:05:41 bouyer Exp $
+# $NetBSD: md.sparc64,v 1.91 2011/04/13 03:24:28 mrg Exp $
 ./usr/include/ieeefp.h                         comp-c-include
 ./usr/include/sparc                            comp-c-include
 ./usr/include/sparc/_G_config.h                        comp-obsolete           obsolete
@@ -93,6 +93,7 @@
 ./usr/include/sparc64/ieee.h                   comp-c-include
 ./usr/include/sparc64/ieeefp.h                 comp-c-include
 ./usr/include/sparc64/instr.h                  comp-c-include
+./usr/include/sparc64/intr.h                   comp-c-include
 ./usr/include/sparc64/int_const.h              comp-c-include
 ./usr/include/sparc64/int_fmtio.h              comp-c-include
 ./usr/include/sparc64/int_limits.h             comp-c-include
diff -r 179ad1ff8e67 -r 8211bfd69b5d sys/arch/sparc64/include/Makefile
--- a/sys/arch/sparc64/include/Makefile Wed Apr 13 03:22:49 2011 +0000
+++ b/sys/arch/sparc64/include/Makefile Wed Apr 13 03:24:28 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.25 2011/01/31 00:19:34 christos Exp $
+#      $NetBSD: Makefile,v 1.26 2011/04/13 03:24:28 mrg Exp $
 
 INCSDIR= /usr/include/sparc64
 
@@ -8,7 +8,7 @@
        disklabel.h \
        eeprom.h elf_machdep.h endian.h endian_machdep.h \
        fenv.h float.h frame.h fsr.h \
-       idprom.h ieee.h ieeefp.h instr.h \
+       idprom.h ieee.h ieeefp.h instr.h intr.h \
        int_const.h int_fmtio.h int_limits.h int_mwgwtypes.h int_types.h \
        joystick.h \
        kbd.h kbio.h kcore.h \
diff -r 179ad1ff8e67 -r 8211bfd69b5d sys/arch/sparc64/include/intr.h
--- a/sys/arch/sparc64/include/intr.h   Wed Apr 13 03:22:49 2011 +0000
+++ b/sys/arch/sparc64/include/intr.h   Wed Apr 13 03:24:28 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.h,v 1.29 2010/05/24 09:49:17 martin Exp $ */
+/*     $NetBSD: intr.h,v 1.30 2011/04/13 03:24:28 mrg Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -32,6 +32,8 @@
 #ifndef _SPARC64_INTR_H_
 #define _SPARC64_INTR_H_
 
+#ifdef _KERNEL
+
 #if defined(_KERNEL_OPT)
 #include "opt_multiprocessor.h"
 #endif
@@ -76,6 +78,8 @@
 #endif /* _LOCORE */
 #endif
 
+#endif /* _KERNEL */
+
 #define IPI_EVCNT_TLB_PTE      0
 #define IPI_EVCNT_FPU_SYNCH    1
 #define IPI_EVCNT_FPU_FLUSH    2



Home | Main Index | Thread Index | Old Index