X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Falpha%2Fkernel%2Fsys_sable.c;h=a7a14647b50e01cf2f7725192b76e0d5c7b270a3;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=e129e0e8099b891fead863791a1b014a35c0442c;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/arch/alpha/kernel/sys_sable.c b/arch/alpha/kernel/sys_sable.c index e129e0e80..a7a14647b 100644 --- a/arch/alpha/kernel/sys_sable.c +++ b/arch/alpha/kernel/sys_sable.c @@ -8,7 +8,6 @@ * Code supporting the Sable, Sable-Gamma, and Lynx systems. */ -#include #include #include #include @@ -31,7 +30,7 @@ #include "pci_impl.h" #include "machvec_impl.h" -spinlock_t sable_lynx_irq_lock = SPIN_LOCK_UNLOCKED; +DEFINE_SPINLOCK(sable_lynx_irq_lock); typedef struct irq_swizzle_struct { @@ -537,7 +536,7 @@ sable_lynx_init_irq(int nr_irqs) for (i = 0; i < nr_irqs; ++i) { irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; - irq_desc[i].handler = &sable_lynx_irq_type; + irq_desc[i].chip = &sable_lynx_irq_type; } common_init_isa_dma(); @@ -566,7 +565,6 @@ struct alpha_machine_vector sable_mv __initmv = { DO_EV4_MMU, DO_DEFAULT_RTC, DO_T2_IO, - DO_T2_BUS, .machine_check = t2_machine_check, .max_isa_dma_address = ALPHA_SABLE_MAX_ISA_DMA_ADDRESS, .min_io_address = EISA_DEFAULT_IO_BASE, @@ -599,7 +597,6 @@ struct alpha_machine_vector sable_gamma_mv __initmv = { DO_EV5_MMU, DO_DEFAULT_RTC, DO_T2_IO, - DO_T2_BUS, .machine_check = t2_machine_check, .max_isa_dma_address = ALPHA_SABLE_MAX_ISA_DMA_ADDRESS, .min_io_address = EISA_DEFAULT_IO_BASE, @@ -631,7 +628,6 @@ struct alpha_machine_vector lynx_mv __initmv = { DO_EV4_MMU, DO_DEFAULT_RTC, DO_T2_IO, - DO_T2_BUS, .machine_check = t2_machine_check, .max_isa_dma_address = ALPHA_SABLE_MAX_ISA_DMA_ADDRESS, .min_io_address = EISA_DEFAULT_IO_BASE,