[packages/kernel/LINUX_3_10] - try fixing 'undefined reference to pnp_bios_callpoint' error on i686
baggins
baggins at pld-linux.org
Thu Sep 24 23:00:10 CEST 2015
commit ccf0b29c018067681de6c3af215e5486fdd9d37d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Sep 24 22:59:48 2015 +0200
- try fixing 'undefined reference to pnp_bios_callpoint' error on i686
kernel-small_fixes.patch | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
---
diff --git a/kernel-small_fixes.patch b/kernel-small_fixes.patch
index 5c0de9d..f96226c 100644
--- a/kernel-small_fixes.patch
+++ b/kernel-small_fixes.patch
@@ -112,3 +112,40 @@ index 4e565c8..732648b 100644
spin_lock_init(&group->fanotify_data.access_lock);
--
cgit v0.10.1
+--- a/drivers/pnp/pnpbios/bioscalls.c 2014-03-31 05:40:15.000000000 +0200
++++ b/drivers/pnp/pnpbios/bioscalls.c 2015-08-30 20:34:09.000000000 +0200
+@@ -21,7 +21,7 @@
+
+ #include "pnpbios.h"
+
+-static struct {
++__visible struct {
+ u16 offset;
+ u16 segment;
+ } pnp_bios_callpoint;
+@@ -37,10 +37,11 @@
+ * kernel begins at offset 3GB...
+ */
+
+-asmlinkage void pnp_bios_callfunc(void);
++asmlinkage __visible void pnp_bios_callfunc(void);
+
+ __asm__(".text \n"
+ __ALIGN_STR "\n"
++ ".globl pnp_bios_callfunc\n"
+ "pnp_bios_callfunc:\n"
+ " pushl %edx \n"
+ " pushl %ecx \n"
+@@ -66,9 +67,9 @@
+ * after PnP BIOS oopses.
+ */
+
+-u32 pnp_bios_fault_esp;
+-u32 pnp_bios_fault_eip;
+-u32 pnp_bios_is_utter_crap = 0;
++__visible u32 pnp_bios_fault_esp;
++__visible u32 pnp_bios_fault_eip;
++__visible u32 pnp_bios_is_utter_crap = 0;
+
+ static spinlock_t pnp_bios_lock;
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/ccf0b29c018067681de6c3af215e5486fdd9d37d
More information about the pld-cvs-commit
mailing list