]> git.baikalelectronics.ru Git - kernel.git/commit
x86/paravirt: Remove GPL from pv_ops export
authorJuergen Gross <jgross@suse.com>
Mon, 29 Oct 2018 15:01:16 +0000 (16:01 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 29 Oct 2018 18:04:05 +0000 (19:04 +0100)
commit381e4f36c105b2e0bb7fba74217a7890a8688146
tree9382612d136d01b2835a858086412f4b44b3939c
parent83b9aea4fa4f9fcb92f92065d2a59ffd05664342
x86/paravirt: Remove GPL from pv_ops export

Commit e671554c3fb12f ("x86/paravirt: Use a single ops structure")
introduced a regression for out-of-tree modules using spinlocks, as
pv_lock_ops was exported via EXPORT_SYMBOL(), while the new pv_ops
structure now containing the pv lock operations is exported via
EXPORT_SYMBOL_GPL().

Change that by using EXPORT_SYMBOL(pv_ops).

Fixes: e671554c3fb12f ("x86/paravirt: Use a single ops structure")
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: xen-devel@lists.xenproject.org
Cc: virtualization@lists.linux-foundation.org
Cc: akataria@vmware.com
Cc: rusty@rustcorp.com.au
Cc: boris.ostrovsky@oracle.com
Cc: hpa@zytor.com
Link: https://lkml.kernel.org/r/20181029150116.25372-1-jgross@suse.com
arch/x86/kernel/paravirt.c