Hello All!
This patch fixes module insertion fail for TX4927/TX4938 platforms for
several drivers:
*** Warning: "__wbflush" [fs/reiserfs/reiserfs.ko] undefined!
*** Warning: "__wbflush" [fs/jbd/jbd.ko] undefined!
*** Warning: "__wbflush" [drivers/usb/gadget/net2280.ko] undefined!
*** Warning: "__wbflush" [drivers/usb/gadget/g_serial.ko] undefined!
*** Warning: "__wbflush" [drivers/net/ppp_generic.ko] undefined!
Does it makes sence to push it in?
Regards,
Vladimir
Signed-off-by: Vladimir Barinov <vbarinov@xxxxxxxxxxxxx>
Description:
Fix module insertion fail on TX4927/TX4938 platforms
Index: linux-2.6.10/arch/mips/tx4927/common/tx4927_setup.c
===================================================================
--- linux-2.6.10.orig/arch/mips/tx4927/common/tx4927_setup.c
+++ linux-2.6.10/arch/mips/tx4927/common/tx4927_setup.c
@@ -231,3 +231,5 @@ void pk0(void)
printk("k0=[0x%08x]\n", val);
}
#endif
+
+EXPORT_SYMBOL(__wbflush);
Index: linux-2.6.10/arch/mips/tx4938/common/setup.c
===================================================================
--- linux-2.6.10.orig/arch/mips/tx4938/common/setup.c
+++ linux-2.6.10/arch/mips/tx4938/common/setup.c
@@ -89,3 +89,5 @@ void __init tx4938_timer_setup(struct ir
write_c0_compare(count);
c2 = read_c0_count();
}
+
+EXPORT_SYMBOL(__wbflush);