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>
This commit is contained in:
parent
1217d34b53
commit
a38efcea56
|
@ -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 bad_page_fault(struct pt_regs *, unsigned long, int);
|
||||||
extern void _exception(int, struct pt_regs *, int, unsigned long);
|
extern void _exception(int, struct pt_regs *, int, unsigned long);
|
||||||
extern void die(const char *, struct pt_regs *, long);
|
extern void die(const char *, struct pt_regs *, long);
|
||||||
extern void print_backtrace(unsigned long *);
|
|
||||||
|
|
||||||
#endif /* !__ASSEMBLY__ */
|
#endif /* !__ASSEMBLY__ */
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,6 @@ extern volatile struct Hydra __iomem *Hydra;
|
||||||
#define HYDRA_INT_SPARE 19
|
#define HYDRA_INT_SPARE 19
|
||||||
|
|
||||||
extern int hydra_init(void);
|
extern int hydra_init(void);
|
||||||
extern void macio_adb_init(void);
|
|
||||||
|
|
||||||
#endif /* __KERNEL__ */
|
#endif /* __KERNEL__ */
|
||||||
|
|
||||||
|
|
|
@ -31,11 +31,6 @@ extern atomic_t ppc_n_lost_interrupts;
|
||||||
|
|
||||||
extern irq_hw_number_t virq_to_hw(unsigned int virq);
|
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)
|
static __inline__ int irq_canonicalize(int irq)
|
||||||
{
|
{
|
||||||
return irq;
|
return irq;
|
||||||
|
|
|
@ -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_register(crash_shutdown_t handler);
|
||||||
extern int crash_shutdown_unregister(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 void crash_kexec_secondary(struct pt_regs *regs);
|
||||||
extern int overlaps_crashkernel(unsigned long start, unsigned long size);
|
extern int overlaps_crashkernel(unsigned long start, unsigned long size);
|
||||||
extern void reserve_crashkernel(void);
|
extern void reserve_crashkernel(void);
|
||||||
|
|
|
@ -104,7 +104,6 @@ extern unsigned long slice_get_unmapped_area(unsigned long addr,
|
||||||
extern unsigned int get_slice_psize(struct mm_struct *mm,
|
extern unsigned int get_slice_psize(struct mm_struct *mm,
|
||||||
unsigned long addr);
|
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_user_psize(struct mm_struct *mm, unsigned int psize);
|
||||||
extern void slice_set_range_psize(struct mm_struct *mm, unsigned long start,
|
extern void slice_set_range_psize(struct mm_struct *mm, unsigned long start,
|
||||||
unsigned long len, unsigned int psize);
|
unsigned long len, unsigned int psize);
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
#include <linux/threads.h>
|
#include <linux/threads.h>
|
||||||
#include <asm/io.h> /* For sub-arch specific PPC_PIN_SIZE */
|
#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;
|
extern unsigned long ioremap_bot;
|
||||||
|
|
||||||
#ifdef CONFIG_44x
|
#ifdef CONFIG_44x
|
||||||
|
|
|
@ -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 *busno, unsigned long *phys,
|
||||||
unsigned long *size);
|
unsigned long *size);
|
||||||
|
|
||||||
extern void kdump_move_device_tree(void);
|
|
||||||
|
|
||||||
extern void of_instantiate_rtc(void);
|
extern void of_instantiate_rtc(void);
|
||||||
|
|
||||||
extern int of_get_ibm_chip_id(struct device_node *np);
|
extern int of_get_ibm_chip_id(struct device_node *np);
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
#ifndef ASM_PPC_RIO_H
|
#ifndef ASM_PPC_RIO_H
|
||||||
#define ASM_PPC_RIO_H
|
#define ASM_PPC_RIO_H
|
||||||
|
|
||||||
extern void platform_rio_init(void);
|
|
||||||
#ifdef CONFIG_FSL_RIO
|
#ifdef CONFIG_FSL_RIO
|
||||||
extern int fsl_rio_mcheck_exception(struct pt_regs *);
|
extern int fsl_rio_mcheck_exception(struct pt_regs *);
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -84,10 +84,6 @@
|
||||||
extern u32 tsi108_pci_cfg_base;
|
extern u32 tsi108_pci_cfg_base;
|
||||||
/* Exported functions */
|
/* 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,
|
extern int tsi108_direct_write_config(struct pci_bus *bus, unsigned int devfn,
|
||||||
int offset, int len, u32 val);
|
int offset, int len, u32 val);
|
||||||
extern int tsi108_direct_read_config(struct pci_bus *bus, unsigned int devfn,
|
extern int tsi108_direct_read_config(struct pci_bus *bus, unsigned int devfn,
|
||||||
|
|
|
@ -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_40x_realmode(void);
|
||||||
extern void __init udbg_init_cpm(void);
|
extern void __init udbg_init_cpm(void);
|
||||||
extern void __init udbg_init_usbgecko(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_memcons(void);
|
||||||
extern void __init udbg_init_ehv_bc(void);
|
extern void __init udbg_init_ehv_bc(void);
|
||||||
extern void __init udbg_init_ps3gelic(void);
|
extern void __init udbg_init_ps3gelic(void);
|
||||||
|
|
|
@ -59,8 +59,6 @@ EXPORT_SYMBOL(plpar_hcall);
|
||||||
EXPORT_SYMBOL(plpar_hcall9);
|
EXPORT_SYMBOL(plpar_hcall9);
|
||||||
EXPORT_SYMBOL(plpar_hcall_norets);
|
EXPORT_SYMBOL(plpar_hcall_norets);
|
||||||
|
|
||||||
extern void pSeries_find_serial_port(void);
|
|
||||||
|
|
||||||
void vpa_init(int cpu)
|
void vpa_init(int cpu)
|
||||||
{
|
{
|
||||||
int hwcpu = get_hard_smp_processor_id(cpu);
|
int hwcpu = get_hard_smp_processor_id(cpu);
|
||||||
|
|
Loading…
Reference in New Issue