mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-30 13:03:01 +00:00

The isa_dma_bridge_buggy symbol is only used for x86_32, and only x86_32 platforms or quirks ever set it. Add a new linux/isa-dma.h header that #defines isa_dma_bridge_buggy to 0 except on x86_32, where we keep it as a variable, and remove all the arch- specific definitions. [bhelgaas: commit log] Suggested-by: Arnd Bergmann <arnd@arndb.de> Suggested-by: Christoph Hellwig <hch@infradead.org> Link: https://lore.kernel.org/r/20220722214944.831438-3-shorne@gmail.com Signed-off-by: Stafford Horne <shorne@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
13 lines
330 B
C
13 lines
330 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2006 Atmark Techno, Inc.
|
|
*/
|
|
|
|
#ifndef _ASM_MICROBLAZE_DMA_H
|
|
#define _ASM_MICROBLAZE_DMA_H
|
|
|
|
/* Virtual address corresponding to last available physical memory address. */
|
|
#define MAX_DMA_ADDRESS (CONFIG_KERNEL_START + memory_size - 1)
|
|
|
|
#endif /* _ASM_MICROBLAZE_DMA_H */
|