On Mon, 11 Sep 2006 10:49:05 +0100, Thiemo Seufer <ths@xxxxxxxxxxxx> wrote: > > + tlbp > > This needs a .set mips3/.set mips0 pair. The TLBP is belong to MIPS I ISA, isn't it? > > +#ifdef CONFIG_CPU_MIPSR2 > > + _ehb /* tlb_probe_hazard */ > > +#else > > + nop; nop; nop; nop; nop; nop /* tlb_probe_hazard */ > > +#endif > > What about a mtc0_tlbp_hazard macro here? You mean mtc0_tlbw_hazard? I took them from tlb_probe_hazard macro in queue branch. And it looks current mtc0_tlbw_hazard asm macro does not match with its C equivalent ... .macro mtc0_tlbw_hazard b . + 8 .endm #define mtc0_tlbw_hazard() \ __asm__ __volatile__( \ " .set noreorder \n" \ " nop \n" \ " nop \n" \ " nop \n" \ " nop \n" \ " nop \n" \ " nop \n" \ " .set reorder \n") --- Atsushi Nemoto