[packages/kernel/LINUX_3_10] - symbol visibility fixes
baggins
baggins at pld-linux.org
Sat Sep 26 19:16:05 CEST 2015
commit ba6a0841bb2f3bb6fed2a8a45e88df1c43c1e1ee
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Sep 26 19:15:38 2015 +0200
- symbol visibility fixes
kernel-small_fixes.patch | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
---
diff --git a/kernel-small_fixes.patch b/kernel-small_fixes.patch
index f96226c..e9010d8 100644
--- a/kernel-small_fixes.patch
+++ b/kernel-small_fixes.patch
@@ -149,3 +149,36 @@ cgit v0.10.1
static spinlock_t pnp_bios_lock;
+--- a/arch/x86/kernel/apm_32.c 2013-07-01 00:13:29.000000000 +0200
++++ b/arch/x86/kernel/apm_32.c 2015-08-30 20:34:09.000000000 +0200
+@@ -392,7 +391,7 @@
+ /*
+ * Local variables
+ */
+-static struct {
++__visible struct {
+ unsigned long offset;
+ unsigned short segment;
+ } apm_bios_entry;
+--- a/drivers/lguest/x86/core.c 2015-09-25 08:30:28.714249731 +0200
++++ b/drivers/lguest/x86/core.c 2015-08-30 20:34:09.000000000 +0200
+@@ -157,7 +158,7 @@
+ * stack, then the address of this call. This stack layout happens to
+ * exactly match the stack layout created by an interrupt...
+ */
+- asm volatile("pushf; lcall *lguest_entry"
++ asm volatile("pushf; lcall *%4"
+ /*
+ * This is how we tell GCC that %eax ("a") and %ebx ("b")
+ * are changed by this routine. The "=" means output.
+@@ -169,7 +170,9 @@
+ * physical address of the Guest's top-level page
+ * directory.
+ */
+- : "0"(pages), "1"(__pa(cpu->lg->pgdirs[cpu->cpu_pgd].pgdir))
++ : "0"(pages),
++ "1"(__pa(cpu->lg->pgdirs[cpu->cpu_pgd].pgdir)),
++ "m"(lguest_entry)
+ /*
+ * We tell gcc that all these registers could change,
+ * which means we don't have to save and restore them in
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/ba6a0841bb2f3bb6fed2a8a45e88df1c43c1e1ee
More information about the pld-cvs-commit
mailing list