mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +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>
14 lines
359 B
C
14 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 */
|