From patchwork Mon Jul 13 09:52:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 6777251 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 1773B9F380 for ; Mon, 13 Jul 2015 09:53:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3EDE820481 for ; Mon, 13 Jul 2015 09:53:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 52B132045B for ; Mon, 13 Jul 2015 09:53:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751294AbbGMJw4 (ORCPT ); Mon, 13 Jul 2015 05:52:56 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:42848 "EHLO andre.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751037AbbGMJwz (ORCPT ); Mon, 13 Jul 2015 05:52:55 -0400 Received: from ayla.of.borg ([84.193.93.87]) by andre.telenet-ops.be with bizsmtp id rlss1q00t1t5w8s01lssFy; Mon, 13 Jul 2015 11:52:53 +0200 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1ZEaPs-0006aT-Lq; Mon, 13 Jul 2015 11:52:52 +0200 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1ZEaPt-0003lb-9E; Mon, 13 Jul 2015 11:52:53 +0200 From: Geert Uytterhoeven To: Matthew Wilcox Cc: Andrew Morton , Paul Bolle , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Arnd Bergmann , Geert Uytterhoeven Subject: [PATCH] fs: dax: do not build on ARC or SH Date: Mon, 13 Jul 2015 11:52:47 +0200 Message-Id: <1436781167-14446-1-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.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=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 From: Arnd Bergmann 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 [Geert: s/SH/SUPERH/, as reported by Paul Bolle ] Signed-off-by: Geert Uytterhoeven --- fs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/Kconfig b/fs/Kconfig index 011f43365d7b1e53..53326a50a3ce3830 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -37,7 +37,7 @@ source "fs/f2fs/Kconfig" config FS_DAX bool "Direct Access (DAX) support" depends on MMU - depends on !(ARM || MIPS || SPARC) + depends on !(ARC || ARM || MIPS || SPARC || SUPERH) help Direct Access (DAX) can be used on memory-backed block devices. If the block device supports DAX and the filesystem supports DAX,