mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-12 16:11:04 +00:00
[PATCH] frv: misc sparse annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
53470aaa02
commit
576132b426
@ -112,7 +112,7 @@ struct irq_source frv_cpuuart[2] = {
|
|||||||
#define __CPUUART(X, A) \
|
#define __CPUUART(X, A) \
|
||||||
[X] = { \
|
[X] = { \
|
||||||
.muxname = "uart", \
|
.muxname = "uart", \
|
||||||
.muxdata = (volatile void __iomem *) A, \
|
.muxdata = (volatile void __iomem *)(unsigned long)A,\
|
||||||
.irqmask = 1 << IRQ_CPU_UART##X, \
|
.irqmask = 1 << IRQ_CPU_UART##X, \
|
||||||
.doirq = frv_cpuuart_doirq, \
|
.doirq = frv_cpuuart_doirq, \
|
||||||
}
|
}
|
||||||
@ -136,7 +136,7 @@ struct irq_source frv_cpudma[8] = {
|
|||||||
#define __CPUDMA(X, A) \
|
#define __CPUDMA(X, A) \
|
||||||
[X] = { \
|
[X] = { \
|
||||||
.muxname = "dma", \
|
.muxname = "dma", \
|
||||||
.muxdata = (volatile void __iomem *) A, \
|
.muxdata = (volatile void __iomem *)(unsigned long)A,\
|
||||||
.irqmask = 1 << IRQ_CPU_DMA##X, \
|
.irqmask = 1 << IRQ_CPU_DMA##X, \
|
||||||
.doirq = frv_cpudma_doirq, \
|
.doirq = frv_cpudma_doirq, \
|
||||||
}
|
}
|
||||||
@ -164,7 +164,7 @@ struct irq_source frv_cputimer[3] = {
|
|||||||
#define __CPUTIMER(X) \
|
#define __CPUTIMER(X) \
|
||||||
[X] = { \
|
[X] = { \
|
||||||
.muxname = "timer", \
|
.muxname = "timer", \
|
||||||
.muxdata = 0, \
|
.muxdata = NULL, \
|
||||||
.irqmask = 1 << IRQ_CPU_TIMER##X, \
|
.irqmask = 1 << IRQ_CPU_TIMER##X, \
|
||||||
.doirq = frv_cputimer_doirq, \
|
.doirq = frv_cputimer_doirq, \
|
||||||
}
|
}
|
||||||
@ -187,7 +187,7 @@ struct irq_source frv_cpuexternal[8] = {
|
|||||||
#define __CPUEXTERNAL(X) \
|
#define __CPUEXTERNAL(X) \
|
||||||
[X] = { \
|
[X] = { \
|
||||||
.muxname = "ext", \
|
.muxname = "ext", \
|
||||||
.muxdata = 0, \
|
.muxdata = NULL, \
|
||||||
.irqmask = 1 << IRQ_CPU_EXTERNAL##X, \
|
.irqmask = 1 << IRQ_CPU_EXTERNAL##X, \
|
||||||
.doirq = frv_cpuexternal_doirq, \
|
.doirq = frv_cpuexternal_doirq, \
|
||||||
}
|
}
|
||||||
|
@ -32,11 +32,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
static const uint8_t __initdata pci_bus0_irq_routing[32][4] = {
|
static const uint8_t __initdata pci_bus0_irq_routing[32][4] = {
|
||||||
[0 ] { IRQ_FPGA_MB86943_PCI_INTA },
|
[0 ] = { IRQ_FPGA_MB86943_PCI_INTA },
|
||||||
[16] { IRQ_FPGA_RTL8029_INTA },
|
[16] = { IRQ_FPGA_RTL8029_INTA },
|
||||||
[17] { IRQ_FPGA_PCI_INTC, IRQ_FPGA_PCI_INTD, IRQ_FPGA_PCI_INTA, IRQ_FPGA_PCI_INTB },
|
[17] = { IRQ_FPGA_PCI_INTC, IRQ_FPGA_PCI_INTD, IRQ_FPGA_PCI_INTA, IRQ_FPGA_PCI_INTB },
|
||||||
[18] { IRQ_FPGA_PCI_INTB, IRQ_FPGA_PCI_INTC, IRQ_FPGA_PCI_INTD, IRQ_FPGA_PCI_INTA },
|
[18] = { IRQ_FPGA_PCI_INTB, IRQ_FPGA_PCI_INTC, IRQ_FPGA_PCI_INTD, IRQ_FPGA_PCI_INTA },
|
||||||
[19] { IRQ_FPGA_PCI_INTA, IRQ_FPGA_PCI_INTB, IRQ_FPGA_PCI_INTC, IRQ_FPGA_PCI_INTD },
|
[19] = { IRQ_FPGA_PCI_INTA, IRQ_FPGA_PCI_INTB, IRQ_FPGA_PCI_INTC, IRQ_FPGA_PCI_INTD },
|
||||||
};
|
};
|
||||||
|
|
||||||
void __init pcibios_irq_init(void)
|
void __init pcibios_irq_init(void)
|
||||||
|
@ -134,7 +134,7 @@ static inline void *kmap_atomic(struct page *page, enum km_type type)
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
BUG();
|
BUG();
|
||||||
return 0;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user