Re: sti() does not work.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thiemo Seufer wrote:
> > extern __inline__ void  __sti(void)
> > {
> >       __asm__ __volatile__(
> >               ".set\tnoreorder\n\t"
> >               ".set\tnoat\n\t"
> >               "mfc0\t$1,$12\n\t"
> >               "ori\t$1,0x1f\n\t"
> >               "xori\t$1,0x1e\n\t"
> >               "mtc0\t$1,$12\n\t"               /* <----- problem  here
> > ! */
> 
> Here should follow some nop's on a MIPS I system to make sure $12
> is written (why is noreorder used here?).
> 

Support for r3k in 2.2 is broken for a long time. Use 2.4 instead.

Regards,
Gleb.


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux