]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/sparc/kernel/setup_32.c
sparc32: add irq + smp declarations to headers
authorSam Ravnborg <sam@ravnborg.org>
Fri, 28 Jan 2011 22:08:18 +0000 (22:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Mar 2011 01:19:08 +0000 (18:19 -0700)
commitb7afdb7e85d97294efa24fbfef7b1fa196ca808c
tree2e7e8c1ceb01e11cb5c5150c6b2f69b4eb66a6eb
parente046b1e978f82e29da7670d6d680567e30dec69a
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>
arch/sparc/include/asm/mmu_32.h
arch/sparc/include/asm/smp_32.h
arch/sparc/kernel/irq_32.c
arch/sparc/kernel/kernel.h
arch/sparc/kernel/setup_32.c