Re: [PATCH] Make __declare_dbe_table() static

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

 



On Sun, 18 Feb 2007 15:54:08 +0000, Ralf Baechle <ralf@xxxxxxxxxxxxxx> wrote:
> > Make __declare_dbe_table() static and call it explicitly to ensure not
> > optimized out.
> 
> That's what __attribute_used__ was meant to be used for.

But we do not need empty __declare_dbe_table() function body (jr ra +
nop) at all.  If we called it explicitly, compiler will optimized it
out.  Saves two instructions ;)


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

  Powered by Linux