Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc: Remove stale function prototypes

There were a number of prototypes for functions that no longer
exist. Remove them.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Anton Blanchard and committed by
Michael Ellerman
a38efcea 1217d34b

-21
-1
arch/powerpc/include/asm/bug.h
··· 133 133 extern void bad_page_fault(struct pt_regs *, unsigned long, int); 134 134 extern void _exception(int, struct pt_regs *, int, unsigned long); 135 135 extern void die(const char *, struct pt_regs *, long); 136 - extern void print_backtrace(unsigned long *); 137 136 138 137 #endif /* !__ASSEMBLY__ */ 139 138
-1
arch/powerpc/include/asm/hydra.h
··· 95 95 #define HYDRA_INT_SPARE 19 96 96 97 97 extern int hydra_init(void); 98 - extern void macio_adb_init(void); 99 98 100 99 #endif /* __KERNEL__ */ 101 100
-5
arch/powerpc/include/asm/irq.h
··· 31 31 32 32 extern irq_hw_number_t virq_to_hw(unsigned int virq); 33 33 34 - /** 35 - * irq_early_init - Init irq remapping subsystem 36 - */ 37 - extern void irq_early_init(void); 38 - 39 34 static __inline__ int irq_canonicalize(int irq) 40 35 { 41 36 return irq;
-1
arch/powerpc/include/asm/kexec.h
··· 81 81 extern int crash_shutdown_register(crash_shutdown_t handler); 82 82 extern int crash_shutdown_unregister(crash_shutdown_t handler); 83 83 84 - extern void machine_kexec_simple(struct kimage *image); 85 84 extern void crash_kexec_secondary(struct pt_regs *regs); 86 85 extern int overlaps_crashkernel(unsigned long start, unsigned long size); 87 86 extern void reserve_crashkernel(void);
-1
arch/powerpc/include/asm/page_64.h
··· 104 104 extern unsigned int get_slice_psize(struct mm_struct *mm, 105 105 unsigned long addr); 106 106 107 - extern void slice_init_context(struct mm_struct *mm, unsigned int psize); 108 107 extern void slice_set_user_psize(struct mm_struct *mm, unsigned int psize); 109 108 extern void slice_set_range_psize(struct mm_struct *mm, unsigned long start, 110 109 unsigned long len, unsigned int psize);
-2
arch/powerpc/include/asm/pgtable-ppc32.h
··· 8 8 #include <linux/threads.h> 9 9 #include <asm/io.h> /* For sub-arch specific PPC_PIN_SIZE */ 10 10 11 - extern unsigned long va_to_phys(unsigned long address); 12 - extern pte_t *va_to_pte(unsigned long address); 13 11 extern unsigned long ioremap_bot; 14 12 15 13 #ifdef CONFIG_44x
-2
arch/powerpc/include/asm/prom.h
··· 76 76 unsigned long *busno, unsigned long *phys, 77 77 unsigned long *size); 78 78 79 - extern void kdump_move_device_tree(void); 80 - 81 79 extern void of_instantiate_rtc(void); 82 80 83 81 extern int of_get_ibm_chip_id(struct device_node *np);
-1
arch/powerpc/include/asm/rio.h
··· 13 13 #ifndef ASM_PPC_RIO_H 14 14 #define ASM_PPC_RIO_H 15 15 16 - extern void platform_rio_init(void); 17 16 #ifdef CONFIG_FSL_RIO 18 17 extern int fsl_rio_mcheck_exception(struct pt_regs *); 19 18 #else
-4
arch/powerpc/include/asm/tsi108.h
··· 84 84 extern u32 tsi108_pci_cfg_base; 85 85 /* Exported functions */ 86 86 87 - extern int tsi108_bridge_init(struct pci_controller *hose, uint phys_csr_base); 88 - extern unsigned long tsi108_get_mem_size(void); 89 - extern unsigned long tsi108_get_cpu_clk(void); 90 - extern unsigned long tsi108_get_sdc_clk(void); 91 87 extern int tsi108_direct_write_config(struct pci_bus *bus, unsigned int devfn, 92 88 int offset, int len, u32 val); 93 89 extern int tsi108_direct_read_config(struct pci_bus *bus, unsigned int devfn,
-1
arch/powerpc/include/asm/udbg.h
··· 52 52 extern void __init udbg_init_40x_realmode(void); 53 53 extern void __init udbg_init_cpm(void); 54 54 extern void __init udbg_init_usbgecko(void); 55 - extern void __init udbg_init_wsp(void); 56 55 extern void __init udbg_init_memcons(void); 57 56 extern void __init udbg_init_ehv_bc(void); 58 57 extern void __init udbg_init_ps3gelic(void);
-2
arch/powerpc/platforms/pseries/lpar.c
··· 59 59 EXPORT_SYMBOL(plpar_hcall9); 60 60 EXPORT_SYMBOL(plpar_hcall_norets); 61 61 62 - extern void pSeries_find_serial_port(void); 63 - 64 62 void vpa_init(int cpu) 65 63 { 66 64 int hwcpu = get_hard_smp_processor_id(cpu);