X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Falpha%2Fkernel%2Firq_impl.h;h=f201d8ffc0d9d36853b80b4b903dff06efaaf387;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=d626a8be9830cf1b1d3b2cd1fbcaa41c84525978;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/arch/alpha/kernel/irq_impl.h b/arch/alpha/kernel/irq_impl.h index d626a8be9..f201d8ffc 100644 --- a/arch/alpha/kernel/irq_impl.h +++ b/arch/alpha/kernel/irq_impl.h @@ -40,32 +40,3 @@ extern struct hw_interrupt_type i8259a_irq_type; extern void init_i8259a_irqs(void); extern void handle_irq(int irq, struct pt_regs * regs); - -extern unsigned long prof_cpu_mask; - -static inline void -alpha_do_profile(unsigned long pc) -{ - extern char _stext; - - if (!prof_buffer) - return; - - /* - * Only measure the CPUs specified by /proc/irq/prof_cpu_mask. - * (default is all CPUs.) - */ - if (!((1<>= prof_shift; - /* - * Don't ignore out-of-bounds PC values silently, - * put them into the last histogram slot, so if - * present, they will show up as a sharp peak. - */ - if (pc > prof_len - 1) - pc = prof_len - 1; - atomic_inc((atomic_t *)&prof_buffer[pc]); -}