aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc')
-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: