mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 15:36:42 +07:00
a2b0aa9463
Fix following warnings: srmmu.c:870:13: warning: symbol 'srmmu_paging_init' was not declared. Should it be static? iommu.c:430:13: warning: symbol 'ld_mmu_iommu' was not declared. Should it be static? leon_mm.c:21:5: warning: symbol 'srmmu_swprobe_trace' was not declared. Should it be static? Add proper prototypes or define static to fix them. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
25 lines
708 B
C
25 lines
708 B
C
/* 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);
|
|
|
|
/* io-unit.c */
|
|
void ld_mmu_iounit(void);
|