Commit 0c4aa1fd authored by John Levon's avatar John Levon Committed by Linus Torvalds

[PATCH] OProfile: __exit fixes

oprofile_arch_exit() can be called from an __init routine now. Remove the remaining
incorrect __exit markers.
parent 4639c7a0
......@@ -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();
......
......@@ -20,6 +20,6 @@ int __init oprofile_arch_init(struct oprofile_operations ** ops)
}
void __exit oprofile_arch_exit()
void oprofile_arch_exit()
{
}
......@@ -19,6 +19,6 @@ int __init oprofile_arch_init(struct oprofile_operations ** ops)
}
void __exit oprofile_arch_exit(void)
void oprofile_arch_exit(void)
{
}
......@@ -20,6 +20,6 @@ int __init oprofile_arch_init(struct oprofile_operations ** ops)
}
void __exit oprofile_arch_exit(void)
void oprofile_arch_exit(void)
{
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment