Re: mips64 cpu-probe.c compile failure

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

 



>>>>> On Fri, 19 Sep 2003 13:55:45 +0200 (MET DST), "Maciej W. Rozycki" <macro@ds2.pg.gda.pl> said:
macro>  Well, the asm statement requires immediates, so if macros are
macro> used variables won't work anyway, but the the code will look
macro> more obscurely.

Yes, though variables won't work anyway, the inline function looks
like it can accept variables (for careless reader).  But that's just
my impression.

macro>  It looks like gcc insists on forcing the constants into
macro> registers.  The following patch should work for gcc 3.x.  A few
macro> warnings will still be emitted, but the code will get build
macro> properly.

Thanks.  It works fine with gcc 3.3.1.
---
Atsushi Nemoto


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

  Powered by Linux