OProfile: __exit fixes
PATCH 1/3 OProfile: __exit fixes
oprofile_arch_exit() can be called from an __init routine now. Remove the remaining incorrect __exit markers.
arch/i386/oprofile/init.c +1 -1
@@ -34,7 +34,7 @@ } -void __exit oprofile_arch_exit(void) +void oprofile_arch_exit (void ) {#ifdef CONFIG_X86_LOCAL_APIC nmi_exit ();
arch/parisc/oprofile/init.c +1 -1
@@ -20,6 +20,6 @@ } -void __exit oprofile_arch_exit() +void oprofile_arch_exit () { }
arch/ppc64/oprofile/init.c +1 -1
@@ -19,6 +19,6 @@ } -void __exit oprofile_arch_exit(void) +void oprofile_arch_exit (void ) { }
arch/sparc64/oprofile/init.c +1 -1
@@ -20,6 +20,6 @@ } -void __exit oprofile_arch_exit(void) +void oprofile_arch_exit (void ) { }
PATCH 2/3 OProfile: needed fix to IO-APIC timer
Retransmit of a critical fix to the IO-APIC timer support. By Zwane Mwaikambo. Please apply
arch/i386/kernel/nmi.c +0 -2
@@ -189,7 +189,6 @@if ((nmi_watchdog !=NMI_IO_APIC ) || (nmi_active <=0 ))return ; -disable_irq (0 );unset_nmi_callback (); nmi_active =-1 ; nmi_watchdog =NMI_NONE ;
@@ -201,7 +200,6 @@ nmi_watchdog =NMI_IO_APIC ;touch_nmi_watchdog (); nmi_active =1 ; -enable_irq (0 ); } }
PATCH 3/3 OProfile: fix a comment
Reflect Intel manual bugfix, by Philippe Elie
arch/i386/oprofile/op_model_p4.c +1 -1
@@ -278,7 +278,7 @@ }, {/* GLOBAL_POWER_EVENTS */ -0x06 ,0x13 /* manual says 0x05 */ , +0x06 ,0x13 /* older manual says 0x05, newer 0x13 */ , { { CTR_BPU_0, MSR_P4_FSB_ESCR0}, { CTR_BPU_2, MSR_P4_FSB_ESCR1} } },