mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
08d90f46c7
MAX_DMA_ADDRESS is defined and treated as a physical address, whereas it should be virtual. Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
15 lines
359 B
C
15 lines
359 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_S390_DMA_H
|
|
#define _ASM_S390_DMA_H
|
|
|
|
#include <linux/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 __va(0x80000000)
|
|
|
|
#endif /* _ASM_S390_DMA_H */
|