On Sun, Sep 08, 2013 at 07:24:19PM -0700, Guenter Roeck wrote:It isn't a problem for those other architectures. Mostly it is mapped to functions like memcpy().On 09/08/2013 06:59 PM, Greg Kroah-Hartman wrote:On Sun, Sep 08, 2013 at 06:03:00PM -0700, Guenter Roeck wrote:Other architectures implement it as define as far as I can see.mips allmodconfig fails with
ERROR: "copy_from_user_page" [drivers/staging/lustre/lustre/libcfs/libcfs.ko]
undefined!
which is due to LUSTRE using copy_from_user_page which is not exported by any
architecture.
Any, or just these arches?
Then why would it be a problem?
That would be another option.Unfortunately, LUSTRE can only be built as module, so there is no
easy fix.
Can't we just export the functions for those arches? Surely lutre
isn't the first/only driver that needs this?
Actually, turns out Geert submitted a patch to do this for mips already, and Ralf applied it:
https://lkml.org/lkml/2013/9/5/111
So please forget this patch. If sh/xtensa actually need it, we can do the same there.
Sounds good to me, consider it forgotten :)
greg k-h