]> git.hungrycats.org Git - linux/commitdiff
[PATCH] OProfile: __exit fixes
authorJohn Levon <levon@movementarian.org>
Thu, 10 Jul 2003 03:35:20 +0000 (20:35 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 10 Jul 2003 03:35:20 +0000 (20:35 -0700)
oprofile_arch_exit() can be called from an __init routine now. Remove the remaining
incorrect __exit markers.

arch/i386/oprofile/init.c
arch/parisc/oprofile/init.c
arch/ppc64/oprofile/init.c
arch/sparc64/oprofile/init.c

index 7cb2029ca85ce34b39522baef2fe61ae6b0132db..1b7747ca726a676097ea0c23ba91619e96db221b 100644 (file)
@@ -34,7 +34,7 @@ int __init oprofile_arch_init(struct oprofile_operations ** ops)
 }
 
 
-void __exit oprofile_arch_exit(void)
+void oprofile_arch_exit(void)
 {
 #ifdef CONFIG_X86_LOCAL_APIC
        nmi_exit();
index 21ad9bec43c5fdc7c5a290b51436d452f21cc3fc..a97b6ba482d4d3ef329187c1b3e540742dc16b04 100644 (file)
@@ -20,6 +20,6 @@ int __init oprofile_arch_init(struct oprofile_operations ** ops)
 }
 
 
-void __exit oprofile_arch_exit()
+void oprofile_arch_exit()
 {
 }
index 6bc6dc422171646f4af8b5c0cfe849bf8af01c4a..d0c67f193c490bb86a2d26648bdb298cb5b24671 100644 (file)
@@ -19,6 +19,6 @@ int __init oprofile_arch_init(struct oprofile_operations ** ops)
 }
 
 
-void __exit oprofile_arch_exit(void)
+void oprofile_arch_exit(void)
 {
 }
index 65a40a2cbf25864984320322965854c06fb95543..b49fe60c03dbe0ca925f1cc7450de8651e544221 100644 (file)
@@ -20,6 +20,6 @@ int __init oprofile_arch_init(struct oprofile_operations ** ops)
 }
 
 
-void __exit oprofile_arch_exit(void)
+void oprofile_arch_exit(void)
 {
 }