Message ID | 1423167832-17609-4-git-send-email-riel@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Feb 05, 2015 at 03:23:50PM -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> Acked-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 97806c4deec5..a3f4a2840637 100644 > --- a/kernel/context_tracking.c > +++ b/kernel/context_tracking.c > @@ -107,6 +107,7 @@ void context_tracking_user_enter(enum ctx_state state) > local_irq_restore(flags); > } > NOKPROBE_SYMBOL(context_tracking_user_enter); > +EXPORT_SYMBOL_GPL(context_tracking_user_enter); > > /** > * context_tracking_user_exit - Inform the context tracking that the CPU is > @@ -146,6 +147,7 @@ void context_tracking_user_exit(enum ctx_state state) > local_irq_restore(flags); > } > NOKPROBE_SYMBOL(context_tracking_user_exit); > +EXPORT_SYMBOL_GPL(context_tracking_user_exit); > > /** > * __context_tracking_task_switch - context switch the syscall callbacks > -- > 1.9.3 > -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/kernel/context_tracking.c b/kernel/context_tracking.c index 97806c4deec5..a3f4a2840637 100644 --- a/kernel/context_tracking.c +++ b/kernel/context_tracking.c @@ -107,6 +107,7 @@ void context_tracking_user_enter(enum ctx_state state) local_irq_restore(flags); } NOKPROBE_SYMBOL(context_tracking_user_enter); +EXPORT_SYMBOL_GPL(context_tracking_user_enter); /** * context_tracking_user_exit - Inform the context tracking that the CPU is @@ -146,6 +147,7 @@ void context_tracking_user_exit(enum ctx_state state) local_irq_restore(flags); } NOKPROBE_SYMBOL(context_tracking_user_exit); +EXPORT_SYMBOL_GPL(context_tracking_user_exit); /** * __context_tracking_task_switch - context switch the syscall callbacks