Commit fbc17786 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: remove some stale code

parent 6ed6603a
...@@ -97,17 +97,9 @@ int fwnmi_active; /* TRUE if an FWNMI handler is present */ ...@@ -97,17 +97,9 @@ int fwnmi_active; /* TRUE if an FWNMI handler is present */
kdev_t boot_dev; kdev_t boot_dev;
unsigned long virtPython0Facilities = 0; // python0 facility area (memory mapped io) (64-bit format) VIRTUAL address. unsigned long virtPython0Facilities = 0; // python0 facility area (memory mapped io) (64-bit format) VIRTUAL address.
extern HPTE *Hash, *Hash_end;
extern unsigned long Hash_size, Hash_mask;
extern int probingmem;
extern unsigned long loops_per_jiffy; extern unsigned long loops_per_jiffy;
#ifdef CONFIG_BLK_DEV_RAM extern unsigned long ppc_proc_freq;
extern int rd_doload; /* 1 = load ramdisk, 0 = don't load */
extern int rd_prompt; /* 1 = prompt for ramdisk, 0 = don't prompt */
extern int rd_image_start; /* starting block # of image */
#endif
extern unsigned long ppc_tb_freq; extern unsigned long ppc_tb_freq;
void void
...@@ -365,9 +357,6 @@ chrp_progress(char *s, unsigned short hex) ...@@ -365,9 +357,6 @@ chrp_progress(char *s, unsigned short hex)
extern void setup_default_decr(void); extern void setup_default_decr(void);
extern unsigned long ppc_proc_freq;
extern unsigned long ppc_tb_freq;
void __init pSeries_calibrate_decr(void) void __init pSeries_calibrate_decr(void)
{ {
struct device_node *cpu; struct device_node *cpu;
......
...@@ -33,7 +33,6 @@ void* OpenPIC_Addr; ...@@ -33,7 +33,6 @@ void* OpenPIC_Addr;
static volatile struct OpenPIC *OpenPIC = NULL; static volatile struct OpenPIC *OpenPIC = NULL;
u_int OpenPIC_NumInitSenses __initdata = 0; u_int OpenPIC_NumInitSenses __initdata = 0;
u_char *OpenPIC_InitSenses __initdata = NULL; u_char *OpenPIC_InitSenses __initdata = NULL;
extern int use_of_interrupt_tree;
void find_ISUs(void); void find_ISUs(void);
......
...@@ -44,8 +44,6 @@ ...@@ -44,8 +44,6 @@
#include <asm/machdep.h> #include <asm/machdep.h>
#include <asm/iSeries/HvCallHpt.h> #include <asm/iSeries/HvCallHpt.h>
int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpregs);
struct task_struct *last_task_used_math = NULL; struct task_struct *last_task_used_math = NULL;
struct mm_struct ioremap_mm = { pgd : ioremap_dir struct mm_struct ioremap_mm = { pgd : ioremap_dir
......
...@@ -42,9 +42,6 @@ extern unsigned long klimit; ...@@ -42,9 +42,6 @@ extern unsigned long klimit;
extern HTAB htab_data; extern HTAB htab_data;
extern unsigned long loops_per_jiffy; extern unsigned long loops_per_jiffy;
extern unsigned long embedded_sysmap_start;
extern unsigned long embedded_sysmap_end;
int have_of = 1; int have_of = 1;
extern void chrp_init(unsigned long r3, extern void chrp_init(unsigned long r3,
...@@ -53,7 +50,6 @@ extern void chrp_init(unsigned long r3, ...@@ -53,7 +50,6 @@ extern void chrp_init(unsigned long r3,
unsigned long r6, unsigned long r6,
unsigned long r7); unsigned long r7);
extern void chrp_init_map_io_space( void );
extern void iSeries_init( void ); extern void iSeries_init( void );
extern void iSeries_init_early( void ); extern void iSeries_init_early( void );
extern void pSeries_init_early( void ); extern void pSeries_init_early( void );
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#define __KERNEL_SYSCALLS__ #define __KERNEL_SYSCALLS__
#include <linux/unistd.h> #include <linux/unistd.h>
#include <linux/init.h> #include <linux/init.h>
/* #include <linux/openpic.h> */
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/cache.h> #include <linux/cache.h>
#include <linux/err.h> #include <linux/err.h>
...@@ -65,10 +64,6 @@ unsigned long cpu_online_map; ...@@ -65,10 +64,6 @@ unsigned long cpu_online_map;
volatile unsigned long cpu_callin_map[NR_CPUS] = {0,}; volatile unsigned long cpu_callin_map[NR_CPUS] = {0,};
#define TB_SYNC_PASSES 4
volatile unsigned long __initdata tb_sync_flag = 0;
volatile unsigned long __initdata tb_offset = 0;
extern unsigned char stab_array[]; extern unsigned char stab_array[];
int start_secondary(void *); int start_secondary(void *);
...@@ -724,7 +719,7 @@ void __init smp_setup(char *str, int *ints) ...@@ -724,7 +719,7 @@ void __init smp_setup(char *str, int *ints)
{ {
} }
int __init setup_profiling_timer(unsigned int multiplier) int setup_profiling_timer(unsigned int multiplier)
{ {
return 0; return 0;
} }
......
...@@ -98,7 +98,7 @@ mmu_gather_t mmu_gathers[NR_CPUS]; ...@@ -98,7 +98,7 @@ mmu_gather_t mmu_gathers[NR_CPUS];
void show_mem(void) void show_mem(void)
{ {
int i,free = 0,total = 0,reserved = 0; int i,total = 0,reserved = 0;
int shared = 0, cached = 0; int shared = 0, cached = 0;
printk("Mem-info:\n"); printk("Mem-info:\n");
......
...@@ -349,6 +349,7 @@ extern void paging_init(void); ...@@ -349,6 +349,7 @@ extern void paging_init(void);
* ahead of time, instead of waiting for the inevitable extra * ahead of time, instead of waiting for the inevitable extra
* hash-table miss exception. * hash-table miss exception.
*/ */
struct vm_area_struct;
extern void update_mmu_cache(struct vm_area_struct *, unsigned long, pte_t); extern void update_mmu_cache(struct vm_area_struct *, unsigned long, pte_t);
/* Encode and de-code a swap entry */ /* Encode and de-code a swap entry */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment