mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 19:25:05 +07:00
87890f9227
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 <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
20 lines
417 B
C
20 lines
417 B
C
#ifndef _ASM_S390_DMA_H
|
|
#define _ASM_S390_DMA_H
|
|
|
|
#include <asm/io.h>
|
|
|
|
/*
|
|
* MAX_DMA_ADDRESS is ambiguous because on s390 its completely unrelated
|
|
* to DMA. It _is_ used for the s390 memory zone split at 2GB caused
|
|
* by the 31 bit heritage.
|
|
*/
|
|
#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 */
|