From patchwork Mon Feb 23 11:29:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 5863991 Return-Path: X-Original-To: patchwork-linux-fsdevel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E8CBE9F373 for ; Mon, 23 Feb 2015 11:30:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 07C572060F for ; Mon, 23 Feb 2015 11:30:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 22AB320606 for ; Mon, 23 Feb 2015 11:30:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752181AbbBWL3y (ORCPT ); Mon, 23 Feb 2015 06:29:54 -0500 Received: from mout.kundenserver.de ([212.227.126.187]:52205 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751601AbbBWL3x (ORCPT ); Mon, 23 Feb 2015 06:29:53 -0500 Received: from wuerfel.localnet ([149.172.15.242]) by mrelayeu.kundenserver.de (mreue002) with ESMTPSA (Nemesis) id 0LmiRI-1Xu6MR282G-00h5w9; Mon, 23 Feb 2015 12:29:47 +0100 From: Arnd Bergmann To: Matthew Wilcox Cc: Geert Uytterhoeven , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Andrew Morton Subject: fs: dax: do not build on ARC or SH Date: Mon, 23 Feb 2015 12:29:45 +0100 Message-ID: <5778538.KJ98x3yxkB@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V03:K0:SyWdknixKeSAJ2VSLs0R2HxN5msp1o80fzNnSoeOSqVTKe0UOco /qj7QSFVwmUhDVzfaYkN88GX4x8HW8dCev/bXfgLheO3iKmjuiG9VlmCuRbs3DPFn7CCtnI NtT8SQ1VCbzc+/J4wfvtkUrYXpmPX7uqvbPgMEAloNuawwzJXG4dRA1E4oCm9xfx1xJdl9Q apJC9kWJN2bD7pwZI/HLA== X-UI-Out-Filterresults: notjunk:1; Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The DAX implementation relies on the architecture to provide a working copy_user_page() function, as reported by Michael Ellerman's kisskb build bot: fs/dax.c: error: implicit declaration of function 'copy_user_page' [-Werror=implicit-function-declaration]: => 266:2 We already have a list of architectures that are known to be incompatible, but the list is missing ARC and SH at the moment. Further, blackfin and c6x also lack support for this function, but are already excluded because they do not support MMU-based kernels. Signed-off-by: Arnd Bergmann Reported-by: Geert Uytterhoeven Acked-by: Geert Uytterhoeven --- -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/fs/Kconfig b/fs/Kconfig index ec35851e5b71..a24d496787d6 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -36,7 +36,7 @@ source "fs/nilfs2/Kconfig" config FS_DAX bool "Direct Access (DAX) support" depends on MMU - depends on !(ARM || MIPS || SPARC) + depends on !(ARC || ARM || MIPS || SH || SPARC) help Direct Access (DAX) can be used on memory-backed block devices. If the block device supports DAX and the filesystem supports DAX,