]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- try fixing 'undefined reference to pnp_bios_callpoint' error on i686
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 24 Sep 2015 20:49:35 +0000 (22:49 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 24 Sep 2015 20:49:35 +0000 (22:49 +0200)
kernel-small_fixes.patch

index 841eadf2f39313179f9fd4d7c061c3d8f387cdaa..475b02db71518b9c0feafc6ccdf212999629da7c 100644 (file)
@@ -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;
This page took 0.079928 seconds and 4 git commands to generate.