From: Philippe E. <ph...@us...> - 2002-07-28 16:21:00
|
Update of /cvsroot/oprofile/oprofile/module In directory usw-pr-cvs1:/tmp/cvs-serv1070/module Modified Files: compat22.h Log Message: - op_get_cpu_nr_counters() / op_get_nr_counters() merge - fix module build for 2.5.29: __cli()/__sti() removal - fix an old outstanding warning using test_bit() regards, Phil Index: compat22.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/module/compat22.h,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- compat22.h 25 Jun 2002 04:09:07 -0000 1.24 +++ compat22.h 28 Jul 2002 16:20:57 -0000 1.25 @@ -14,6 +14,8 @@ #include <linux/smp_lock.h> +#define local_irq_disable() __cli() +#define local_irq_enable() __sti() #define pte_page_address(a) pte_page(a) #define GET_VM_OFFSET(v) ((v)->vm_offset) |