X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fsh64%2Fkernel%2Fdma.c;h=09cd9f4670b5b37a2acca4de03f08e0360386a9f;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=f5183b20ab040af5538454090884f9a47fead2ef;hpb=1f977e1ab5eaff8197304710c4446be1289d4268;p=linux-2.6.git diff --git a/arch/sh64/kernel/dma.c b/arch/sh64/kernel/dma.c index f5183b20a..09cd9f467 100644 --- a/arch/sh64/kernel/dma.c +++ b/arch/sh64/kernel/dma.c @@ -31,7 +31,7 @@ typedef struct { } dma_info_t; static dma_info_t dma_info[MAX_DMA_CHANNELS]; -extern spinlock_t dma_spin_lock; +static DEFINE_SPINLOCK(dma_spin_lock); /* arch/sh64/kernel/irq_intc.c */ extern void make_intc_irq(unsigned int irq);