sparc32: cleanup code for pci init
authorSam Ravnborg <sam@ravnborg.org>
Sun, 17 Apr 2011 11:49:55 +0000 (13:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Apr 2011 05:11:39 +0000 (22:11 -0700)
commit06010fb588700e7fcb29e720c56884e3de5fd327
tree832891d6ffcf8f2f762094c37b5e88a86bbdd007
parentdb1cdd146a0814b6f312fe1a7fa1ab87ac177b2a
sparc32: cleanup code for pci init

Move the ifdeffery to a header file to make the logic more
obvious where we decide between PCI or SBUS init

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/pcic.h
arch/sparc/kernel/irq_32.c
arch/sparc/kernel/time_32.c