Commit 1ed3b323 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: wrap pidhash reference for the moment

parent 0b024737
......@@ -90,7 +90,9 @@ _STATIC(__start)
* between physical addresses and absolute addresses) and
* to the pidhash table (also used by the debugger) */
.llong msChunks-KERNELBASE
#ifdef CONFIG_PPC_ISERIES
.llong pidhash-KERNELBASE
#endif
/* Offset 0x38 - Pointer to start of embedded System.map */
.globl embedded_sysmap_start
......
......@@ -469,11 +469,6 @@ void __init time_init(void)
last_rtc_update = xtime.tv_sec;
write_unlock_irqrestore(&xtime_lock, flags);
#ifdef CONFIG_PPC_ISERIES
/* HACK HACK This allows the iSeries profiling to use /proc/profile */
prof_shift = 0;
#endif
/* Not exact, but the timer interrupt takes care of this */
set_dec(tb_ticks_per_jiffy);
}
......
......@@ -498,13 +498,6 @@ void __init paging_init(void)
}
#endif
extern unsigned long prof_shift;
extern unsigned long prof_len;
extern unsigned int * prof_buffer;
extern unsigned long dprof_shift;
extern unsigned long dprof_len;
extern unsigned int * dprof_buffer;
void initialize_paca_hardware_interrupt_stack(void);
void __init mem_init(void)
......@@ -577,10 +570,6 @@ void __init mem_init(void)
#ifdef CONFIG_PPC_ISERIES
create_virtual_bus_tce_table();
/* HACK HACK This allows the iSeries profiling to use /proc/profile */
prof_shift = dprof_shift;
prof_len = dprof_len;
prof_buffer = dprof_buffer;
#endif
}
......
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