Re: [PATCH] irqtrace-option-off-compile-fix

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

 



I was testing on x86_64 and turned off the option in
arch/x86_64/Kconfig.debug. 

When the option is turned off, the following functions become undefined:
local_irq_disable()           
local_irq_enable()             
local_irq_save(flags)          
local_irq_restore(flags)       
safe_halt() 
local_save_flags()
irqs_disabled()
irqs_disabled_flags(flags)                   

It seems plausible that some users may want to avoid the overhead of
tracing IRQFLAGS by turning the option off.

Regards,
Tim Chen

On Tue, 2006-07-11 at 09:13 +0200, Arjan van de Ven wrote:
> On Mon, 2006-07-10 at 17:18 -0700, Tim Chen wrote:
> > When CONFIG_TRACE_IRQFLAGS_SUPPORT is turned off, the latest kernel has
> > compile errors.  The patch below fix the problems.
> 
> 
> Hi,
> 
> which architecture did you see this on? (asking because IA64 and PPC
> compile just fine without this, and for x86 and x86-64 this is not an
> option you can turn off as user, it's not a user selectable config
> option but it's a "I have this feature in arch" option)
> 
> Greetings,
>    Arjan van de Ven

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux