diff options
author | Matthew Wilcox <matthew@wil.cx> | 2006-10-07 06:01:11 -0600 |
---|---|---|
committer | Matthew Wilcox <willy@parisc-linux.org> | 2006-10-07 06:01:11 -0600 |
commit | c7753f18711782738936f224aaa421468e87f6ed (patch) | |
tree | 7152347bb02452a54beb67a1f553db968c2c5615 /arch/parisc/kernel/smp.c | |
parent | bbd6330ea1154fc13a351263160d4f9cca2ff5d9 (diff) | |
download | blackbird-obmc-linux-c7753f18711782738936f224aaa421468e87f6ed.tar.gz blackbird-obmc-linux-c7753f18711782738936f224aaa421468e87f6ed.zip |
[PARISC] More pt_regs removal
Remove pt_regs from ipi_interrupt and timer_interrupt.
Inline smp_do_timer() into its only caller, and unify the SMP and
non-SMP paths. Fixes a profiling bug.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Diffstat (limited to 'arch/parisc/kernel/smp.c')
-rw-r--r-- | arch/parisc/kernel/smp.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c index faad338f310e..4a23a97b06cd 100644 --- a/arch/parisc/kernel/smp.c +++ b/arch/parisc/kernel/smp.c @@ -154,7 +154,7 @@ halt_processor(void) irqreturn_t -ipi_interrupt(int irq, void *dev_id, struct pt_regs *regs) +ipi_interrupt(int irq, void *dev_id) { int this_cpu = smp_processor_id(); struct cpuinfo_parisc *p = &cpu_data[this_cpu]; @@ -414,19 +414,6 @@ smp_flush_tlb_all(void) on_each_cpu(flush_tlb_all_local, NULL, 1, 1); } - -void -smp_do_timer(struct pt_regs *regs) -{ - int cpu = smp_processor_id(); - struct cpuinfo_parisc *data = &cpu_data[cpu]; - - if (!--data->prof_counter) { - data->prof_counter = data->prof_multiplier; - update_process_times(user_mode(regs)); - } -} - /* * Called by secondaries to update state and initialize CPU registers. */ |