projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21db558
)
x86: export cpu_gdt_descr
author
Glauber de Oliveira Costa
<
[email protected]
>
Wed, 30 Jan 2008 12:31:10 +0000
(13:31 +0100)
committer
Ingo Molnar
<
[email protected]
>
Wed, 30 Jan 2008 12:31:10 +0000
(13:31 +0100)
With paravirualization, hypervisors needs to handle the gdt,
that was right to this point only used at very early
inialization code. Hypervisors (lguest being the current case)
are commonly modules, so make it an export
Signed-off-by: Glauber de Oliveira Costa <
[email protected]
>
Signed-off-by: Steven Rostedt <
[email protected]
>
Acked-by: Jeremy Fitzhardinge <
[email protected]
>
Signed-off-by: Thomas Gleixner <
[email protected]
>
Signed-off-by: Glauber de Oliveira Costa <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
Signed-off-by: Thomas Gleixner <
[email protected]
>
arch/x86/kernel/x8664_ksyms_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/x8664_ksyms_64.c
b/arch/x86/kernel/x8664_ksyms_64.c
index e28b533674dda916ec42bda5b8cf4636ad9f31dd..a66e9c1a05373d3c53870abdd96c9b7cf03d7d0f 100644
(file)
--- a/
arch/x86/kernel/x8664_ksyms_64.c
+++ b/
arch/x86/kernel/x8664_ksyms_64.c
@@
-8,6
+8,7
@@
#include <asm/processor.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
+#include <asm/desc.h>
EXPORT_SYMBOL(kernel_thread);
@@
-53,3
+54,8
@@
EXPORT_SYMBOL(init_level4_pgt);
EXPORT_SYMBOL(load_gs_index);
EXPORT_SYMBOL(_proxy_pda);
+
+#ifdef CONFIG_PARAVIRT
+/* Virtualized guests may want to use it */
+EXPORT_SYMBOL_GPL(cpu_gdt_descr);
+#endif