Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1508809ybk; Sun, 10 May 2020 19:25:37 -0700 (PDT) X-Google-Smtp-Source: APiQypKq/zdhUzKvoU0FNiZvjUJ8yKN6fTIGZV/LMRQGDPEWRYE1hb9jPa0d2tnD8jmjkgUHa9Cx X-Received: by 2002:a17:906:6845:: with SMTP id a5mr10820604ejs.143.1589163937254; Sun, 10 May 2020 19:25:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589163937; cv=none; d=google.com; s=arc-20160816; b=HXKezCKFGA78fLr0Nc3lmDag2iPHBjCitf0561j8dOGMh51tmeX0hANJzoMktTdAam 9h+SZmz3D4cYOD2wDhU6nh18P/jWj19R7Jb+x71xAnxtGJ2WCXXyqgjRj/yDLx/5ZnAq FeaXanTH3QjmAElytdtZIzW0iAw6K5jeWxaroMkpuEkuTRGIrXd/0ap7mmp34KeXHOau xjby80FIPD5rgWRPNTzSo0Fo0Q8J7TJ6g4eS5ITqVsuxgk/dX58Ilvbtve0Ux49wjOq/ yxxpu0+FsQlk4xWuhXAnGcEpBkQ1brlp9517QRj2TqMDOONK1Ick0uh6gYNJsC+1nuHq nWBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=rxsd1bTi7LxWG0FN+w4yLZsTsxfGhXkuUsvIYFuWiK4=; b=GQRt0jL4OqETkX20QJbSwZSAXdFCfmPboXZd2j+Mzm6Ml26x75sX37nUPfbZJx1wXw J3b6c7+PzA519iSEWT1a9ceyPC/V7uu2bpkREPcPSR2O0MYsbPEepACxidXENX8t5ifE HD/WaID9pH/+ybMk+1gUkPlTu82+I2P41Y3I0F39ibadxUF51xVzkpG+YkM6Zy34olmO ckPFkyiiZEpOYRdO4fAYQadFW+Boho13FeoDyvyi0AwnkIHMFgh6dzqMj6sz92kuQznW 3vzVe6r00adMEA7QjoBTBCphaRPeAnyCwQBA2q7iOjbo48q7y65YxcMeJct/pkdcbZ+K SVsA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f8si5510366edk.160.2020.05.10.19.25.10; Sun, 10 May 2020 19:25:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729376AbgEKCXm (ORCPT + 99 others); Sun, 10 May 2020 22:23:42 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:34882 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729328AbgEKCXl (ORCPT ); Sun, 10 May 2020 22:23:41 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 1B4298DAEC3A82EFFADF; Mon, 11 May 2020 10:17:14 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Mon, 11 May 2020 10:17:06 +0800 From: Kefeng Wang To: Paul Walmsley , Palmer Dabbelt , Albert Ou , , CC: Kefeng Wang , Hulk Robot Subject: [PATCH 07/10] riscv: Make SYS_SUPPORTS_HUGETLBFS depends on MMU Date: Mon, 11 May 2020 10:19:58 +0800 Message-ID: <20200511022001.179767-8-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200511022001.179767-1-wangkefeng.wang@huawei.com> References: <20200511022001.179767-1-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org HUGETLBFS only used when MMU enabled, add the dependence. Reported-by: Hulk Robot Signed-off-by: Kefeng Wang --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 494e670520ae..d0010ed8e0f4 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -138,6 +138,7 @@ config ARCH_SUPPORTS_DEBUG_PAGEALLOC def_bool y config SYS_SUPPORTS_HUGETLBFS + depends on MMU def_bool y config STACKTRACE_SUPPORT -- 2.26.2