From 0c4aa1fd80f1c396fdbd4332b070264b2cfef937 Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 9 Jul 2003 20:35:20 -0700 Subject: [PATCH] [PATCH] 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 | 2 +- arch/parisc/oprofile/init.c | 2 +- arch/ppc64/oprofile/init.c | 2 +- arch/sparc64/oprofile/init.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/i386/oprofile/init.c b/arch/i386/oprofile/init.c index 7cb2029ca85c..1b7747ca726a 100644 --- a/arch/i386/oprofile/init.c +++ b/arch/i386/oprofile/init.c @@ -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(); diff --git a/arch/parisc/oprofile/init.c b/arch/parisc/oprofile/init.c index 21ad9bec43c5..a97b6ba482d4 100644 --- a/arch/parisc/oprofile/init.c +++ b/arch/parisc/oprofile/init.c @@ -20,6 +20,6 @@ int __init oprofile_arch_init(struct oprofile_operations ** ops) } -void __exit oprofile_arch_exit() +void oprofile_arch_exit() { } diff --git a/arch/ppc64/oprofile/init.c b/arch/ppc64/oprofile/init.c index 6bc6dc422171..d0c67f193c49 100644 --- a/arch/ppc64/oprofile/init.c +++ b/arch/ppc64/oprofile/init.c @@ -19,6 +19,6 @@ int __init oprofile_arch_init(struct oprofile_operations ** ops) } -void __exit oprofile_arch_exit(void) +void oprofile_arch_exit(void) { } diff --git a/arch/sparc64/oprofile/init.c b/arch/sparc64/oprofile/init.c index 65a40a2cbf25..b49fe60c03db 100644 --- a/arch/sparc64/oprofile/init.c +++ b/arch/sparc64/oprofile/init.c @@ -20,6 +20,6 @@ int __init oprofile_arch_init(struct oprofile_operations ** ops) } -void __exit oprofile_arch_exit(void) +void oprofile_arch_exit(void) { } -- 2.39.5