]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc: Remove stale function prototypes
authorAnton Blanchard <anton@samba.org>
Tue, 19 Aug 2014 22:55:20 +0000 (08:55 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Sep 2014 13:14:43 +0000 (23:14 +1000)
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>
arch/powerpc/include/asm/bug.h
arch/powerpc/include/asm/hydra.h
arch/powerpc/include/asm/irq.h
arch/powerpc/include/asm/kexec.h
arch/powerpc/include/asm/page_64.h
arch/powerpc/include/asm/pgtable-ppc32.h
arch/powerpc/include/asm/prom.h
arch/powerpc/include/asm/rio.h
arch/powerpc/include/asm/tsi108.h
arch/powerpc/include/asm/udbg.h
arch/powerpc/platforms/pseries/lpar.c

index 3eb53d741070d69fe3505b694d04b8a40303a71e..3a39283333c3cdbba5139f1c97f83d7f36815ed9 100644 (file)
@@ -133,7 +133,6 @@ extern int do_page_fault(struct pt_regs *, unsigned long, unsigned long);
 extern void bad_page_fault(struct pt_regs *, unsigned long, int);
 extern void _exception(int, struct pt_regs *, int, unsigned long);
 extern void die(const char *, struct pt_regs *, long);
-extern void print_backtrace(unsigned long *);
 
 #endif /* !__ASSEMBLY__ */
 
index 5b0c98bd46abb346c2a6966265ff767651f3de4f..1cb39c96d1558fcded9b86d7aa5e3a5512f929cc 100644 (file)
@@ -95,7 +95,6 @@ extern volatile struct Hydra __iomem *Hydra;
 #define HYDRA_INT_SPARE                19
 
 extern int hydra_init(void);
-extern void macio_adb_init(void);
 
 #endif /* __KERNEL__ */
 
index 41f13cec8a8fcd01bbd2e02f3cfc50083b3addba..e8e3a0a04eb079b179d3a67c47641a0ad95b07da 100644 (file)
@@ -31,11 +31,6 @@ extern atomic_t ppc_n_lost_interrupts;
 
 extern irq_hw_number_t virq_to_hw(unsigned int virq);
 
-/**
- * irq_early_init - Init irq remapping subsystem
- */
-extern void irq_early_init(void);
-
 static __inline__ int irq_canonicalize(int irq)
 {
        return irq;
index 16d7e33d35e970c742585f9c19fb0fc62b61f0ba..19c36cba37c4acac5e63e7c4d8a093b4dbe65781 100644 (file)
@@ -81,7 +81,6 @@ extern void default_machine_crash_shutdown(struct pt_regs *regs);
 extern int crash_shutdown_register(crash_shutdown_t handler);
 extern int crash_shutdown_unregister(crash_shutdown_t handler);
 
-extern void machine_kexec_simple(struct kimage *image);
 extern void crash_kexec_secondary(struct pt_regs *regs);
 extern int overlaps_crashkernel(unsigned long start, unsigned long size);
 extern void reserve_crashkernel(void);
index 88693cef4f3d60545f17881000451f71319477e6..d0d6afb353d40f6a4c9ac8332b27731029c2384d 100644 (file)
@@ -104,7 +104,6 @@ extern unsigned long slice_get_unmapped_area(unsigned long addr,
 extern unsigned int get_slice_psize(struct mm_struct *mm,
                                    unsigned long addr);
 
-extern void slice_init_context(struct mm_struct *mm, unsigned int psize);
 extern void slice_set_user_psize(struct mm_struct *mm, unsigned int psize);
 extern void slice_set_range_psize(struct mm_struct *mm, unsigned long start,
                                  unsigned long len, unsigned int psize);
index 47edde8c3556221b7371b225f32e1065b4b2fdb8..622672fef3095671e381104671d6d169f22792b7 100644 (file)
@@ -8,8 +8,6 @@
 #include <linux/threads.h>
 #include <asm/io.h>                    /* For sub-arch specific PPC_PIN_SIZE */
 
-extern unsigned long va_to_phys(unsigned long address);
-extern pte_t *va_to_pte(unsigned long address);
 extern unsigned long ioremap_bot;
 
 #ifdef CONFIG_44x
index 74b79f07f0412bbebd160cc4b14ab8d08d583278..7f436ba1b56f5d2246fed43825c41a2581fb7662 100644 (file)
@@ -76,8 +76,6 @@ void of_parse_dma_window(struct device_node *dn, const __be32 *dma_window,
                         unsigned long *busno, unsigned long *phys,
                         unsigned long *size);
 
-extern void kdump_move_device_tree(void);
-
 extern void of_instantiate_rtc(void);
 
 extern int of_get_ibm_chip_id(struct device_node *np);
index b1d2deceeedbc1f24030a302e2f190ff8929084b..ec800f28fec5249e2478f718260d05ca87176c12 100644 (file)
@@ -13,7 +13,6 @@
 #ifndef ASM_PPC_RIO_H
 #define ASM_PPC_RIO_H
 
-extern void platform_rio_init(void);
 #ifdef CONFIG_FSL_RIO
 extern int fsl_rio_mcheck_exception(struct pt_regs *);
 #else
index f8b60793b7a908f508904619ad2a8a023f6e82a1..d531d9e173ef8c2e86bfa0a5f352264f75062a5c 100644 (file)
 extern u32 tsi108_pci_cfg_base;
 /* Exported functions */
 
-extern int tsi108_bridge_init(struct pci_controller *hose, uint phys_csr_base);
-extern unsigned long tsi108_get_mem_size(void);
-extern unsigned long tsi108_get_cpu_clk(void);
-extern unsigned long tsi108_get_sdc_clk(void);
 extern int tsi108_direct_write_config(struct pci_bus *bus, unsigned int devfn,
                                      int offset, int len, u32 val);
 extern int tsi108_direct_read_config(struct pci_bus *bus, unsigned int devfn,
index b51fba10e733d453ac29e0c535ff419d480f206d..78f2675f2aacb3e4f08258270e604af40103a62c 100644 (file)
@@ -52,7 +52,6 @@ extern void __init udbg_init_44x_as1(void);
 extern void __init udbg_init_40x_realmode(void);
 extern void __init udbg_init_cpm(void);
 extern void __init udbg_init_usbgecko(void);
-extern void __init udbg_init_wsp(void);
 extern void __init udbg_init_memcons(void);
 extern void __init udbg_init_ehv_bc(void);
 extern void __init udbg_init_ps3gelic(void);
index 34e64237fff9a9ca4cf6d62751e99feff41a3f1e..6affea7f0eba001e02e06156646dcdbdd1bb64b6 100644 (file)
@@ -59,8 +59,6 @@ EXPORT_SYMBOL(plpar_hcall);
 EXPORT_SYMBOL(plpar_hcall9);
 EXPORT_SYMBOL(plpar_hcall_norets);
 
-extern void pSeries_find_serial_port(void);
-
 void vpa_init(int cpu)
 {
        int hwcpu = get_hard_smp_processor_id(cpu);