mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 05:33:09 +00:00
255a69a94b
sparc32 is the last platform making dynamic decisions in get_arch_dma_ops based on the bus passed in. Instead set the iommu dma_ops at iommu probing and propagate them in of_propagate_archdata, falling back to the NULL ops for the direct mapping in the Leon or PCI case. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
23 lines
704 B
C
23 lines
704 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* fault_32.c - visible as they are called from assembler */
|
|
asmlinkage int lookup_fault(unsigned long pc, unsigned long ret_pc,
|
|
unsigned long address);
|
|
asmlinkage void do_sparc_fault(struct pt_regs *regs, int text_fault, int write,
|
|
unsigned long address);
|
|
|
|
void window_overflow_fault(void);
|
|
void window_underflow_fault(unsigned long sp);
|
|
void window_ret_fault(struct pt_regs *regs);
|
|
|
|
/* srmmu.c */
|
|
extern char *srmmu_name;
|
|
extern int viking_mxcc_present;
|
|
extern int flush_page_for_dma_global;
|
|
|
|
extern void (*poke_srmmu)(void);
|
|
|
|
void __init srmmu_paging_init(void);
|
|
|
|
/* iommu.c */
|
|
void ld_mmu_iommu(void);
|