mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
context_tracking: Export context_tracking_user_enter/exit
Export context_tracking_user_enter/exit so it can be used by KVM. Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Rik van Riel <riel@redhat.com> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Will deacon <will.deacon@arm.com> Cc: Marcelo Tosatti <mtosatti@redhat.com> Cc: Christian Borntraeger <borntraeger@de.ibm.com> Cc: Luiz Capitulino <lcapitulino@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
This commit is contained in:
parent
19fdd98b62
commit
efc1e2c9bc
@ -108,6 +108,7 @@ void context_tracking_enter(enum ctx_state state)
|
|||||||
local_irq_restore(flags);
|
local_irq_restore(flags);
|
||||||
}
|
}
|
||||||
NOKPROBE_SYMBOL(context_tracking_enter);
|
NOKPROBE_SYMBOL(context_tracking_enter);
|
||||||
|
EXPORT_SYMBOL_GPL(context_tracking_enter);
|
||||||
|
|
||||||
void context_tracking_user_enter(void)
|
void context_tracking_user_enter(void)
|
||||||
{
|
{
|
||||||
@ -155,6 +156,7 @@ void context_tracking_exit(enum ctx_state state)
|
|||||||
local_irq_restore(flags);
|
local_irq_restore(flags);
|
||||||
}
|
}
|
||||||
NOKPROBE_SYMBOL(context_tracking_exit);
|
NOKPROBE_SYMBOL(context_tracking_exit);
|
||||||
|
EXPORT_SYMBOL_GPL(context_tracking_exit);
|
||||||
|
|
||||||
void context_tracking_user_exit(void)
|
void context_tracking_user_exit(void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user