Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751751Ab3IICYX (ORCPT ); Sun, 8 Sep 2013 22:24:23 -0400 Received: from mail.active-venture.com ([67.228.131.205]:50916 "EHLO mail.active-venture.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751302Ab3IICYX (ORCPT ); Sun, 8 Sep 2013 22:24:23 -0400 X-Originating-IP: 108.223.40.66 Message-ID: <522D3153.5000102@roeck-us.net> Date: Sun, 08 Sep 2013 19:24:19 -0700 From: Guenter Roeck User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Greg Kroah-Hartman CC: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, Peng Tao , Peng Tao Subject: Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA References: <1378688580-11935-1-git-send-email-linux@roeck-us.net> <20130909015945.GA4029@kroah.com> In-Reply-To: <20130909015945.GA4029@kroah.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1149 Lines: 35 On 09/08/2013 06:59 PM, Greg Kroah-Hartman wrote: > On Sun, Sep 08, 2013 at 06:03:00PM -0700, Guenter Roeck wrote: >> 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? > Other architectures implement it as define as far as I can see. >> 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? > That would be another option. 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. Guenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/