[PATCH 1/3] OProfile: __exit fixes

John Levon (levon@movementarian.org)
Thu, 10 Jul 2003 18:09:04 +0100



oprofile_arch_exit() can be called from an __init routine now. Remove the remaining
incorrect __exit markers.

diff -Naur -X dontdiff linux-cvs/arch/i386/oprofile/init.c linux-fixes/arch/i386/oprofile/init.c
--- linux-cvs/arch/i386/oprofile/init.c 2003-06-18 15:06:05.000000000 +0100
+++ linux-fixes/arch/i386/oprofile/init.c 2003-06-20 00:19:14.000000000 +0100
@@ -34,7 +34,7 @@
}


-void __exit oprofile_arch_exit(void)
+void oprofile_arch_exit(void)
{
#ifdef CONFIG_X86_LOCAL_APIC
nmi_exit();
diff -Naur -X dontdiff linux-cvs/arch/parisc/oprofile/init.c linux-fixes/arch/parisc/oprofile/init.c
--- linux-cvs/arch/parisc/oprofile/init.c 2003-06-17 15:58:45.000000000 +0100
+++ linux-fixes/arch/parisc/oprofile/init.c 2003-06-20 00:19:24.000000000 +0100
@@ -20,6 +20,6 @@
}


-void __exit oprofile_arch_exit()
+void oprofile_arch_exit()
{
}
diff -Naur -X dontdiff linux-cvs/arch/ppc64/oprofile/init.c linux-fixes/arch/ppc64/oprofile/init.c
--- linux-cvs/arch/ppc64/oprofile/init.c 2003-05-04 02:42:02.000000000 +0100
+++ linux-fixes/arch/ppc64/oprofile/init.c 2003-06-20 00:19:32.000000000 +0100
@@ -19,6 +19,6 @@
}


-void __exit oprofile_arch_exit(void)
+void oprofile_arch_exit(void)
{
}
diff -Naur -X dontdiff linux-cvs/arch/sparc64/oprofile/init.c linux-fixes/arch/sparc64/oprofile/init.c
--- linux-cvs/arch/sparc64/oprofile/init.c 2003-05-04 19:01:46.000000000 +0100
+++ linux-fixes/arch/sparc64/oprofile/init.c 2003-06-20 00:19:40.000000000 +0100
@@ -20,6 +20,6 @@
}


-void __exit oprofile_arch_exit(void)
+void oprofile_arch_exit(void)
{
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/