aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2014-08-19 18:55:20 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2014-09-25 09:14:43 -0400
commita38efcea56988761f89a3134145f0d5f9ea68076 (patch)
treeb6dff43e39e0f25712a5c0d5dbf8678cebb79b4e /arch
parent1217d34b531c76362217057ca70a8ce8950574e0 (diff)
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/include/asm/bug.h1
-rw-r--r--arch/powerpc/include/asm/hydra.h1
-rw-r--r--arch/powerpc/include/asm/irq.h5
-rw-r--r--arch/powerpc/include/asm/kexec.h1
-rw-r--r--arch/powerpc/include/asm/page_64.h1
-rw-r--r--arch/powerpc/include/asm/pgtable-ppc32.h2
-rw-r--r--arch/powerpc/include/asm/prom.h2
-rw-r--r--arch/powerpc/include/asm/rio.h1
-rw-r--r--arch/powerpc/include/asm/tsi108.h4
-rw-r--r--arch/powerpc/include/asm/udbg.h1
-rw-r--r--arch/powerpc/platforms/pseries/lpar.c2
11 files changed, 0 insertions, 21 deletions
diff --git a/arch/powerpc/include/asm/bug.h b/arch/powerpc/include/asm/bug.h
index 3eb53d741070..3a39283333c3 100644
--- a/arch/powerpc/include/asm/bug.h
+++ b/arch/powerpc/include/asm/bug.h
@@ -133,7 +133,6 @@ extern int do_page_fault(struct pt_regs *, unsigned long, unsigned long);
133extern void bad_page_fault(struct pt_regs *, unsigned long, int); 133extern void bad_page_fault(struct pt_regs *, unsigned long, int);
134extern void _exception(int, struct pt_regs *, int, unsigned long); 134extern void _exception(int, struct pt_regs *, int, unsigned long);
135extern void die(const char *, struct pt_regs *, long); 135extern void die(const char *, struct pt_regs *, long);
136extern void print_backtrace(unsigned long *);
137 136
138#endif /* !__ASSEMBLY__ */ 137#endif /* !__ASSEMBLY__ */
139 138
diff --git a/arch/powerpc/include/asm/hydra.h b/arch/powerpc/include/asm/hydra.h
index 5b0c98bd46ab..1cb39c96d155 100644
--- a/arch/powerpc/include/asm/hydra.h
+++ b/arch/powerpc/include/asm/hydra.h
@@ -95,7 +95,6 @@ extern volatile struct Hydra __iomem *Hydra;
95#define HYDRA_INT_SPARE 19 95#define HYDRA_INT_SPARE 19
96 96
97extern int hydra_init(void); 97extern int hydra_init(void);
98extern void macio_adb_init(void);
99 98
100#endif /* __KERNEL__ */ 99#endif /* __KERNEL__ */
101 100
diff --git a/arch/powerpc/include/asm/irq.h b/arch/powerpc/include/asm/irq.h
index 41f13cec8a8f..e8e3a0a04eb0 100644
--- a/arch/powerpc/include/asm/irq.h
+++ b/arch/powerpc/include/asm/irq.h
@@ -31,11 +31,6 @@ extern atomic_t ppc_n_lost_interrupts;
31 31
32extern irq_hw_number_t virq_to_hw(unsigned int virq); 32extern irq_hw_number_t virq_to_hw(unsigned int virq);
33 33
34/**
35 * irq_early_init - Init irq remapping subsystem
36 */
37extern void irq_early_init(void);
38
39static __inline__ int irq_canonicalize(int irq) 34static __inline__ int irq_canonicalize(int irq)
40{ 35{
41 return irq; 36 return irq;
diff --git a/arch/powerpc/include/asm/kexec.h b/arch/powerpc/include/asm/kexec.h
index 16d7e33d35e9..19c36cba37c4 100644
--- a/arch/powerpc/include/asm/kexec.h
+++ b/arch/powerpc/include/asm/kexec.h
@@ -81,7 +81,6 @@ extern void default_machine_crash_shutdown(struct pt_regs *regs);
81extern int crash_shutdown_register(crash_shutdown_t handler); 81extern int crash_shutdown_register(crash_shutdown_t handler);
82extern int crash_shutdown_unregister(crash_shutdown_t handler); 82extern int crash_shutdown_unregister(crash_shutdown_t handler);
83 83
84extern void machine_kexec_simple(struct kimage *image);
85extern void crash_kexec_secondary(struct pt_regs *regs); 84extern void crash_kexec_secondary(struct pt_regs *regs);
86extern int overlaps_crashkernel(unsigned long start, unsigned long size); 85extern int overlaps_crashkernel(unsigned long start, unsigned long size);
87extern void reserve_crashkernel(void); 86extern void reserve_crashkernel(void);
diff --git a/arch/powerpc/include/asm/page_64.h b/arch/powerpc/include/asm/page_64.h
index 88693cef4f3d..d0d6afb353d4 100644
--- a/arch/powerpc/include/asm/page_64.h
+++ b/arch/powerpc/include/asm/page_64.h
@@ -104,7 +104,6 @@ extern unsigned long slice_get_unmapped_area(unsigned long addr,
104extern unsigned int get_slice_psize(struct mm_struct *mm, 104extern unsigned int get_slice_psize(struct mm_struct *mm,
105 unsigned long addr); 105 unsigned long addr);
106 106
107extern void slice_init_context(struct mm_struct *mm, unsigned int psize);
108extern void slice_set_user_psize(struct mm_struct *mm, unsigned int psize); 107extern void slice_set_user_psize(struct mm_struct *mm, unsigned int psize);
109extern void slice_set_range_psize(struct mm_struct *mm, unsigned long start, 108extern void slice_set_range_psize(struct mm_struct *mm, unsigned long start,
110 unsigned long len, unsigned int psize); 109 unsigned long len, unsigned int psize);
diff --git a/arch/powerpc/include/asm/pgtable-ppc32.h b/arch/powerpc/include/asm/pgtable-ppc32.h
index 47edde8c3556..622672fef309 100644
--- a/arch/powerpc/include/asm/pgtable-ppc32.h
+++ b/arch/powerpc/include/asm/pgtable-ppc32.h
@@ -8,8 +8,6 @@
8#include <linux/threads.h> 8#include <linux/threads.h>
9#include <asm/io.h> /* For sub-arch specific PPC_PIN_SIZE */ 9#include <asm/io.h> /* For sub-arch specific PPC_PIN_SIZE */
10 10
11extern unsigned long va_to_phys(unsigned long address);
12extern pte_t *va_to_pte(unsigned long address);
13extern unsigned long ioremap_bot; 11extern unsigned long ioremap_bot;
14 12
15#ifdef CONFIG_44x 13#ifdef CONFIG_44x
diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h
index 74b79f07f041..7f436ba1b56f 100644
--- a/arch/powerpc/include/asm/prom.h
+++ b/arch/powerpc/include/asm/prom.h
@@ -76,8 +76,6 @@ void of_parse_dma_window(struct device_node *dn, const __be32 *dma_window,
76 unsigned long *busno, unsigned long *phys, 76 unsigned long *busno, unsigned long *phys,
77 unsigned long *size); 77 unsigned long *size);
78 78
79extern void kdump_move_device_tree(void);
80
81extern void of_instantiate_rtc(void); 79extern void of_instantiate_rtc(void);
82 80
83extern int of_get_ibm_chip_id(struct device_node *np); 81extern int of_get_ibm_chip_id(struct device_node *np);
diff --git a/arch/powerpc/include/asm/rio.h b/arch/powerpc/include/asm/rio.h
index b1d2deceeedb..ec800f28fec5 100644
--- a/arch/powerpc/include/asm/rio.h
+++ b/arch/powerpc/include/asm/rio.h
@@ -13,7 +13,6 @@
13#ifndef ASM_PPC_RIO_H 13#ifndef ASM_PPC_RIO_H
14#define ASM_PPC_RIO_H 14#define ASM_PPC_RIO_H
15 15
16extern void platform_rio_init(void);
17#ifdef CONFIG_FSL_RIO 16#ifdef CONFIG_FSL_RIO
18extern int fsl_rio_mcheck_exception(struct pt_regs *); 17extern int fsl_rio_mcheck_exception(struct pt_regs *);
19#else 18#else
diff --git a/arch/powerpc/include/asm/tsi108.h b/arch/powerpc/include/asm/tsi108.h
index f8b60793b7a9..d531d9e173ef 100644
--- a/arch/powerpc/include/asm/tsi108.h
+++ b/arch/powerpc/include/asm/tsi108.h
@@ -84,10 +84,6 @@
84extern u32 tsi108_pci_cfg_base; 84extern u32 tsi108_pci_cfg_base;
85/* Exported functions */ 85/* Exported functions */
86 86
87extern int tsi108_bridge_init(struct pci_controller *hose, uint phys_csr_base);
88extern unsigned long tsi108_get_mem_size(void);
89extern unsigned long tsi108_get_cpu_clk(void);
90extern unsigned long tsi108_get_sdc_clk(void);
91extern int tsi108_direct_write_config(struct pci_bus *bus, unsigned int devfn, 87extern int tsi108_direct_write_config(struct pci_bus *bus, unsigned int devfn,
92 int offset, int len, u32 val); 88 int offset, int len, u32 val);
93extern int tsi108_direct_read_config(struct pci_bus *bus, unsigned int devfn, 89extern int tsi108_direct_read_config(struct pci_bus *bus, unsigned int devfn,
diff --git a/arch/powerpc/include/asm/udbg.h b/arch/powerpc/include/asm/udbg.h
index b51fba10e733..78f2675f2aac 100644
--- a/arch/powerpc/include/asm/udbg.h
+++ b/arch/powerpc/include/asm/udbg.h
@@ -52,7 +52,6 @@ extern void __init udbg_init_44x_as1(void);
52extern void __init udbg_init_40x_realmode(void); 52extern void __init udbg_init_40x_realmode(void);
53extern void __init udbg_init_cpm(void); 53extern void __init udbg_init_cpm(void);
54extern void __init udbg_init_usbgecko(void); 54extern void __init udbg_init_usbgecko(void);
55extern void __init udbg_init_wsp(void);
56extern void __init udbg_init_memcons(void); 55extern void __init udbg_init_memcons(void);
57extern void __init udbg_init_ehv_bc(void); 56extern void __init udbg_init_ehv_bc(void);
58extern void __init udbg_init_ps3gelic(void); 57extern void __init udbg_init_ps3gelic(void);
diff --git a/arch/powerpc/platforms/pseries/lpar.c b/arch/powerpc/platforms/pseries/lpar.c
index 34e64237fff9..6affea7f0eba 100644
--- a/arch/powerpc/platforms/pseries/lpar.c
+++ b/arch/powerpc/platforms/pseries/lpar.c
@@ -59,8 +59,6 @@ EXPORT_SYMBOL(plpar_hcall);
59EXPORT_SYMBOL(plpar_hcall9); 59EXPORT_SYMBOL(plpar_hcall9);
60EXPORT_SYMBOL(plpar_hcall_norets); 60EXPORT_SYMBOL(plpar_hcall_norets);
61 61
62extern void pSeries_find_serial_port(void);
63
64void vpa_init(int cpu) 62void vpa_init(int cpu)
65{ 63{
66 int hwcpu = get_hard_smp_processor_id(cpu); 64 int hwcpu = get_hard_smp_processor_id(cpu);