diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2011-01-28 22:08:18 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-16 18:19:08 -0700 |
commit | b7afdb7e85d97294efa24fbfef7b1fa196ca808c (patch) | |
tree | 2e7e8c1ceb01e11cb5c5150c6b2f69b4eb66a6eb /arch/sparc/kernel/irq_32.c | |
parent | e046b1e978f82e29da7670d6d680567e30dec69a (diff) | |
download | linux-b7afdb7e85d97294efa24fbfef7b1fa196ca808c.tar.gz linux-b7afdb7e85d97294efa24fbfef7b1fa196ca808c.tar.bz2 linux-b7afdb7e85d97294efa24fbfef7b1fa196ca808c.zip |
sparc32: add irq + smp declarations to headers
In preparation for cleaning up a number of files add
declarations for irq and smp related data/functions to
the relevant headers.
This showed that the extern declaration of cputypval differed
in the two files where it was used.
As cputypval is defined like this:
cputypval:
.asciz "sun4c"
the correct representation is a char array.
Fix users to use the new declaration.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/irq_32.c')
-rw-r--r-- | arch/sparc/kernel/irq_32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc/kernel/irq_32.c b/arch/sparc/kernel/irq_32.c index 07c3e39c0235..85db35d894fc 100644 --- a/arch/sparc/kernel/irq_32.c +++ b/arch/sparc/kernel/irq_32.c @@ -130,9 +130,9 @@ EXPORT_SYMBOL(arch_local_irq_restore); static void irq_panic(void) { - extern char *cputypval; - prom_printf("machine: %s doesn't have irq handlers defined!\n",cputypval); - prom_halt(); + prom_printf("machine: %s doesn't have irq handlers defined!\n", + &cputypval[0]); + prom_halt(); } void (*sparc_init_timers)(irq_handler_t ) = |