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>
This commit is contained in:
parent
e046b1e978
commit
b7afdb7e85
5 changed files with 68 additions and 13 deletions
|
|
@ -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 ) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue