[packages/kernel/LINUX_3_4] - try fixing 'undefined reference to pnp_bios_callpoint' error on i686

baggins baggins at pld-linux.org
Thu Sep 24 22:48:53 CEST 2015


commit 6a8a6cc62dff1325480071c80bee6890900b543a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Sep 24 22:48:16 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 a404a7a..69c53b9 100644
--- a/kernel-small_fixes.patch
+++ b/kernel-small_fixes.patch
@@ -146,3 +146,40 @@ Hi all,
 
 NeilBrown
 
+--- 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/6a8a6cc62dff1325480071c80bee6890900b543a



More information about the pld-cvs-commit mailing list