[packages/kernel/LINUX_3_14] - try fixing 'undefined reference to pnp_bios_callpoint' error on i686
baggins
baggins at pld-linux.org
Thu Sep 24 22:49:59 CEST 2015
commit 71c80455c3e2759988f2d4fa821be04e8a5bfddc
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Sep 24 22:49:35 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 841eadf..475b02d 100644
--- a/kernel-small_fixes.patch
+++ b/kernel-small_fixes.patch
@@ -110,3 +110,40 @@ index 4e565c8..732648b 100644
group->fanotify_data.f_flags = event_f_flags;
#ifdef CONFIG_FANOTIFY_ACCESS_PERMISSIONS
spin_lock_init(&group->fanotify_data.access_lock);
+--- 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/71c80455c3e2759988f2d4fa821be04e8a5bfddc
More information about the pld-cvs-commit
mailing list