Commit 21564fd2 authored by Andi Kleen's avatar Andi Kleen Committed by Andi Kleen

[PATCH] i386: PARAVIRT: Export paravirt_ops for non GPL modules too

Otherwise non GPL modules cannot even do basic operations
like disabling interrupts anymore, which would be excessive.

Longer term should split the single structure up into
internal and external symbols and not export the internal
ones at all.
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent 441d40dc
...@@ -346,10 +346,4 @@ struct paravirt_ops paravirt_ops = { ...@@ -346,10 +346,4 @@ struct paravirt_ops paravirt_ops = {
.startup_ipi_hook = paravirt_nop, .startup_ipi_hook = paravirt_nop,
}; };
/* EXPORT_SYMBOL(paravirt_ops);
* NOTE: CONFIG_PARAVIRT is experimental and the paravirt_ops
* semantics are subject to change. Hence we only do this
* internal-only export of this, until it gets sorted out and
* all lowlevel CPU ops used by modules are separately exported.
*/
EXPORT_SYMBOL_GPL(paravirt_ops);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment