lockmeter.h: remove kernel 2.2 #ifdef (i386 + alpha)
PATCH 1/1 lockmeter.h: remove kernel 2.2 #ifdef (i386 + alpha)
The patch below removes a kernel 2.2 #ifdef from the i386 and alpha lockmeter.h .
Please apply
Adrian
include/asm-i386/lockmeter.h renamed from include/asm-i386/lockmeter.h.old +0 -8
@@ -31,14 +31,6 @@#define THIS_CPU_NUMBER smp_processor_id() -#if LINUX_VERSION_CODE <KERNEL_VERSION (2 ,3 ,0 ) -#define local_irq_save(x) \ - __asm__ __volatile__("pushfl ; popl %0 ; cli":"=g" (x): /* no input */ :"memory") - -#define local_irq_restore(x) \ - __asm__ __volatile__("pushl %0 ; popfl": /* no output */ :"g" (x):"memory") -#endif /* Linux version 2.2.x */ -/* * macros to cache and retrieve an index value inside of a spin lock * these macros assume that there are less than 65536 simultaneous
include/asm-alpha/lockmeter.h renamed from include/asm-alpha/lockmeter.h.old +0 -6
@@ -16,12 +16,6 @@#define THIS_CPU_NUMBER smp_processor_id()#include <linux/version.h> -#if LINUX_VERSION_CODE <KERNEL_VERSION (2 ,3 ,0 ) -#define local_irq_save (x) \ - __save_and_cli(x) -#define local_irq_restore (x) \ - __restore_flags(x) -#endif /* Linux version 2.2.x */ #define SPINLOCK_MAGIC_INIT /**/