Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Make __HAVE_FAST_SOFTINTS appear in assym.h so all ...



details:   https://anonhg.NetBSD.org/src/rev/9609c678c95f
branches:  trunk
changeset: 766119:9609c678c95f
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jun 16 03:54:40 2011 +0000

description:
Make __HAVE_FAST_SOFTINTS appear in assym.h so all oeas don't need to include
<powerpc/intr.h>
XXX <powerpc/intr.h> should be <powerpc/oea/intr.h>

diffstat:

 sys/arch/macppc/macppc/locore.S  |  3 +--
 sys/arch/powerpc/oea/genassym.cf |  6 +++++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r ee5b4c73d885 -r 9609c678c95f sys/arch/macppc/macppc/locore.S
--- a/sys/arch/macppc/macppc/locore.S   Thu Jun 16 03:23:08 2011 +0000
+++ b/sys/arch/macppc/macppc/locore.S   Thu Jun 16 03:54:40 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.67 2011/06/16 02:44:38 macallan Exp $     */
+/*     $NetBSD: locore.S,v 1.68 2011/06/16 03:54:40 matt Exp $ */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -53,7 +53,6 @@
 
 #include <powerpc/spr.h>
 #include <powerpc/oea/spr.h>
-#include <powerpc/intr.h>
 
 /*
  * Some instructions gas doesn't understand (yet?)
diff -r ee5b4c73d885 -r 9609c678c95f sys/arch/powerpc/oea/genassym.cf
--- a/sys/arch/powerpc/oea/genassym.cf  Thu Jun 16 03:23:08 2011 +0000
+++ b/sys/arch/powerpc/oea/genassym.cf  Thu Jun 16 03:54:40 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.19 2011/06/16 02:43:43 macallan Exp $
+#      $NetBSD: genassym.cf,v 1.20 2011/06/16 03:54:40 matt Exp $
 
 #
 # Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -51,6 +51,10 @@
 include <powerpc/cpu.h>
 include <powerpc/oea/cpufeat.h>
 
+ifdef  __HAVE_FAST_SOFTINTS
+define __HAVE_FAST_SOFTINTS    __HAVE_FAST_SOFTINTS
+endif
+
 define FRAMELEN        FRAMELEN
 define FRAME_TF        offsetof(struct ktrapframe, ktf_tf)
 define FRAME_R0        offsetof(struct ktrapframe, ktf_tf.tf_fixreg[0])



Home | Main Index | Thread Index | Old Index