kernel_optimize_test/arch/x86_64
Fernando Luis Vázquez Cao 2b94ab2fd5 [PATCH] Replace local_save_flags+local_irq_disable with
The combination of "local_save_flags" and "local_irq_disable" seems to be
equivalent to "local_irq_save" (see code snips below). Consequently, replace
occurrences of local_save_flags+local_irq_disable with local_irq_save.

* local_irq_save
#define raw_local_irq_save(flags) \
                do { (flags) = __raw_local_irq_save(); } while (0)

static inline unsigned long __raw_local_irq_save(void)
{
        unsigned long flags = __raw_local_save_flags();

        raw_local_irq_disable();

        return flags;
}

* local_save_flags
#define raw_local_save_flags(flags) \
                do { (flags) = __raw_local_save_flags(); } while (0)

Signed-off-by: Fernando Vazquez <fernando@intellilink.co.jp>
Signed-off-by: Andi Kleen <ak@suse.de>
2006-09-26 10:52:33 +02:00
..
boot [PATCH] x86: AUX_DEVICE_INFO is one byte long, use 'movb' 2006-09-26 10:52:30 +02:00
crypto [CRYPTO] api: Get rid of flags argument to setkey 2006-09-21 11:41:02 +10:00
ia32 [PATCH] Fix sparse warnings in compat aout code 2006-09-26 10:52:33 +02:00
kernel [PATCH] Replace local_save_flags+local_irq_disable with 2006-09-26 10:52:33 +02:00
lib [PATCH] annotate arch/x86_64/lib/*.S 2006-09-26 10:52:32 +02:00
mm [PATCH] Add sparse annotations to quiet sparse in arch/x86_64/mm/fault.c 2006-09-26 10:52:33 +02:00
oprofile [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
pci Revert mmiocfg heuristics and blacklist changes 2006-09-19 08:15:22 -07:00
defconfig [PATCH] Update defconfig 2006-09-26 10:52:26 +02:00
Kconfig [PATCH] syscall class hookup for all normal targets 2006-09-12 03:04:40 -04:00
Kconfig.debug [PATCH] lockdep: irqtrace subsystem, x86_64 support 2006-07-03 15:27:03 -07:00
Makefile [PATCH] x86: Detect CFI support in the assembler at runtime 2006-09-26 10:52:30 +02:00