On Mon, Feb 23, 2009 at 11:26:34AM -0500, Mark Asselstine wrote: > +static int vr5500_perfcount_handler(void) > +{ > + unsigned int control; > + unsigned int counter; > + int handled = IRQ_NONE; > + unsigned int counters = NUM_COUNTERS; > + > + if (cpu_has_mips_r2 && !(read_c0_cause() & (1 << 26))) > + return handled; The Vr5500 is no R2 processor so these two lines are dead code. Ralf