diff options
author | oftedal <oftedal@gmail.com> | 2011-06-01 12:43:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-08 01:06:32 +0200 |
commit | 5fba17084e5d1b00bf24e17b2b580cfa7705e7be (patch) | |
tree | 522a070938752ceb822ce9b6b270df6bf7e6cfde /arch/sparc/kernel/cpumap.h | |
parent | sparc: PCIC_PCI needs SPARC32 dependency (diff) | |
download | linux-5fba17084e5d1b00bf24e17b2b580cfa7705e7be.tar.xz linux-5fba17084e5d1b00bf24e17b2b580cfa7705e7be.zip |
Restructure sun4d_build_device_irq so that timer interrupts can be allocated
sun4d_build_device_irq was called without a valid platform_device when
the system timer was initialized on sun4d systems. This caused a NULL
pointer crash.
Josip Rodin suggested that the current sun4d_build_device_irq should be
split into two functions. So that the timer initialization could skip
the slot and sbus interface detection code in sun4d_build_device_irq, as
this does not make sence due to the timer interrupts not being generated
from a device located on sbus.
Signed-off-by: Kjetil Oftedal <oftedal@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/cpumap.h')
0 files changed, 0 insertions, 0 deletions