Re: [PATCH 4/5] nohz,kvm: export context_tracking_user_enter/exit

Paul E. McKenney
2015-02-10T21:36:27Z

On Tue, Feb 10, 2015 at 03:27:53PM -0500, riel@redhat.com wrote:
> From: Rik van Riel <riel@redhat.com>
>
> Export context_tracking_user_enter/exit so it can be used by KVM.
>
> Signed-off-by: Rik van Riel <riel@redhat.com>

Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>

> ---
> kernel/context_tracking.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/kernel/context_tracking.c b/kernel/context_tracking.c
> index 0e4e318d5ea4..5bdf1a342ab3 100644
> --- a/kernel/context_tracking.c
> +++ b/kernel/context_tracking.c
> @@ -108,6 +108,7 @@ void context_tracking_enter(enum ctx_state state)
> local_irq_restore(flags);
> }
> NOKPROBE_SYMBOL(context_tracking_enter);
> +EXPORT_SYMBOL_GPL(context_tracking_enter);
>
> void context_tracking_user_enter(void)
> {
> @@ -155,6 +156,7 @@ void context_tracking_exit(enum ctx_state state)
> local_irq_restore(flags);
> }
> NOKPROBE_SYMBOL(context_tracking_exit);
> +EXPORT_SYMBOL_GPL(context_tracking_exit);
>
> void context_tracking_user_exit(void)
> {
> --
> 1.9.3
>