linux-mips
[Top] [All Lists]

[PATCH] Fix module insertion fail for TX4927/TX4938 platforms

To: linux-mips@linux-mips.org
Subject: [PATCH] Fix module insertion fail for TX4927/TX4938 platforms
From: "Vladimir A. Barinov" <vbarinov@ru.mvista.com>
Date: Wed, 14 Sep 2005 17:08:22 +0400
Cc: Ralf Baechle <ralf@linux-mips.org>
In-reply-to: <43281FE6.4070102@ru.mvista.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20050913124544.GC3224@linux-mips.org> <20050913133126.GO23161@lug-owl.de> <20050913152038.GE3224@linux-mips.org> <17191.61757.80884.8289@mips.com> <43281DC3.8010602@ru.mvista.com> <43281F6E.3010807@ru.mvista.com> <43281FE6.4070102@ru.mvista.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
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@ru.mvista.com>
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);
<Prev in Thread] Current Thread [Next in Thread>