From: Heiko Carstens Date: Mon, 7 Jan 2013 12:52:53 +0000 (+0100) Subject: s390/pci: define isa_dma_bridge_buggy X-Git-Tag: v3.8-rc4~43^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=87890f92278dc0c2da4ecdaa196006a3c2cf3687;p=platform%2Fupstream%2Fkernel-adaptation-pc.git s390/pci: define isa_dma_bridge_buggy Define isa_dma_bridge_buggy. Needed to make pci quirks compile: drivers/pci/quirks.c: In function ‘quirk_isa_dma_hangs’: drivers/pci/quirks.c:88:7: error: ‘isa_dma_bridge_buggy’ undeclared (first use in this function) Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/include/asm/dma.h b/arch/s390/include/asm/dma.h index de015d8..bb9bdcd 100644 --- a/arch/s390/include/asm/dma.h +++ b/arch/s390/include/asm/dma.h @@ -10,4 +10,10 @@ */ #define MAX_DMA_ADDRESS 0x80000000 +#ifdef CONFIG_PCI +extern int isa_dma_bridge_buggy; +#else +#define isa_dma_bridge_buggy (0) +#endif + #endif /* _ASM_S390_DMA_H */