mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 13:46:24 +00:00
[PATCH] x86_64: oprofile build fix
WARNING: "unset_nmi_callback" [arch/x86_64/oprofile/oprofile.ko] undefined! WARNING: "set_nmi_callback" [arch/x86_64/oprofile/oprofile.ko] undefined! Cc: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
3706a8728b
commit
d9a5685436
1 changed files with 2 additions and 0 deletions
|
@ -607,11 +607,13 @@ void set_nmi_callback(nmi_callback_t callback)
|
||||||
vmalloc_sync_all();
|
vmalloc_sync_all();
|
||||||
rcu_assign_pointer(nmi_callback, callback);
|
rcu_assign_pointer(nmi_callback, callback);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(set_nmi_callback);
|
||||||
|
|
||||||
void unset_nmi_callback(void)
|
void unset_nmi_callback(void)
|
||||||
{
|
{
|
||||||
nmi_callback = dummy_nmi_callback;
|
nmi_callback = dummy_nmi_callback;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(unset_nmi_callback);
|
||||||
|
|
||||||
#ifdef CONFIG_SYSCTL
|
#ifdef CONFIG_SYSCTL
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue