aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPeter Grehan <grehan@FreeBSD.org>2002-09-19 04:29:59 +0000
committerPeter Grehan <grehan@FreeBSD.org>2002-09-19 04:29:59 +0000
commit3f3331903d5a20d19a2bf2d6519f729d34d42aec (patch)
tree9c430b70cccb741f1a20b8297396c17b59e89064 /sys
parentae3ad2c6c04ef067aa800af018f8f34d408c0e86 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/powerpc/aim/interrupt.c6
-rw-r--r--sys/powerpc/aim/locore.S12
-rw-r--r--sys/powerpc/powerpc/interrupt.c6
-rw-r--r--sys/powerpc/powerpc/locore.S12
-rw-r--r--sys/powerpc/powerpc/locore.s12
5 files changed, 36 insertions, 12 deletions
diff --git a/sys/powerpc/aim/interrupt.c b/sys/powerpc/aim/interrupt.c
index 491f53d273801..0ea231108576c 100644
--- a/sys/powerpc/aim/interrupt.c
+++ b/sys/powerpc/aim/interrupt.c
@@ -61,12 +61,6 @@
void powerpc_interrupt(struct trapframe *);
-u_long intrcnt[1];
-u_long eintrcnt[1];
-
-char intrnames[1];
-char eintrnames[1];
-
/*
* External interrupt install routines
*/
diff --git a/sys/powerpc/aim/locore.S b/sys/powerpc/aim/locore.S
index cafdeabc4ef30..697fde8667872 100644
--- a/sys/powerpc/aim/locore.S
+++ b/sys/powerpc/aim/locore.S
@@ -93,6 +93,18 @@ GLOBAL(powersave)
#define SPILLSTK 4096 /* 4K spill stack */
/*
+ * Dummy interrupt table to keep sysctl happy until
+ * it's worked out what to do with naming
+ */
+GLOBAL(intrnames)
+ .asciz "dummy"
+GLOBAL(eintrnames)
+ .align 4
+GLOBAL(intrcnt)
+ .long 0
+GLOBAL(eintrcnt)
+
+/*
* File-scope for locore.S
*/
idle_u:
diff --git a/sys/powerpc/powerpc/interrupt.c b/sys/powerpc/powerpc/interrupt.c
index 491f53d273801..0ea231108576c 100644
--- a/sys/powerpc/powerpc/interrupt.c
+++ b/sys/powerpc/powerpc/interrupt.c
@@ -61,12 +61,6 @@
void powerpc_interrupt(struct trapframe *);
-u_long intrcnt[1];
-u_long eintrcnt[1];
-
-char intrnames[1];
-char eintrnames[1];
-
/*
* External interrupt install routines
*/
diff --git a/sys/powerpc/powerpc/locore.S b/sys/powerpc/powerpc/locore.S
index cafdeabc4ef30..697fde8667872 100644
--- a/sys/powerpc/powerpc/locore.S
+++ b/sys/powerpc/powerpc/locore.S
@@ -93,6 +93,18 @@ GLOBAL(powersave)
#define SPILLSTK 4096 /* 4K spill stack */
/*
+ * Dummy interrupt table to keep sysctl happy until
+ * it's worked out what to do with naming
+ */
+GLOBAL(intrnames)
+ .asciz "dummy"
+GLOBAL(eintrnames)
+ .align 4
+GLOBAL(intrcnt)
+ .long 0
+GLOBAL(eintrcnt)
+
+/*
* File-scope for locore.S
*/
idle_u:
diff --git a/sys/powerpc/powerpc/locore.s b/sys/powerpc/powerpc/locore.s
index cafdeabc4ef30..697fde8667872 100644
--- a/sys/powerpc/powerpc/locore.s
+++ b/sys/powerpc/powerpc/locore.s
@@ -93,6 +93,18 @@ GLOBAL(powersave)
#define SPILLSTK 4096 /* 4K spill stack */
/*
+ * Dummy interrupt table to keep sysctl happy until
+ * it's worked out what to do with naming
+ */
+GLOBAL(intrnames)
+ .asciz "dummy"
+GLOBAL(eintrnames)
+ .align 4
+GLOBAL(intrcnt)
+ .long 0
+GLOBAL(eintrcnt)
+
+/*
* File-scope for locore.S
*/
idle_u: