Re: [PATCH] Synthesize TLB refill handler at runtime

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

 



Maciej W. Rozycki wrote:
> On Sun, 21 Nov 2004, Thiemo Seufer wrote:
> 
> > Aww, fatal error in the spelling module. :-)
> > Updated.
> 
>  Great stuff!  Thanks a lot.  I gave it some testing on hardware available 
> to me and it works just fine.  I've got a couple of warnings upon 
> building, though:
> 
> arch/mips/mm/tlbex.c:500: warning: 'i_LA' defined but not used
> arch/mips/mm/tlbex.c:568: warning: 'insn_has_bdelay' defined but not used
> arch/mips/mm/tlbex.c:582: warning: 'il_bltz' defined but not used
> arch/mips/mm/tlbex.c:588: warning: 'il_b' defined but not used
> 
> How about marking them "attribute((unused))"?  I can do that if you agree.

Please do so, but IIRC there's a compiler-independent Linux-specific
define which is preferable. Newest gcc just removes unused static
functions without further notice, AFAIK.


Thiemo


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

  Powered by Linux