Received: by 2002:aa6:c429:0:b029:98:93ff:f56f with SMTP id g9csp3393872lkq; Mon, 23 Nov 2020 04:42:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJzqx93nFGj++oH9EQ7G7sWd0OeTUrCBScdvwOVx29D/YHb9usD+L8InW+hESHAHhE/uRPg/ X-Received: by 2002:a50:a105:: with SMTP id 5mr45603150edj.165.1606135342617; Mon, 23 Nov 2020 04:42:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606135342; cv=none; d=google.com; s=arc-20160816; b=zqBE6J3Aww+6auS+loqv8UMnSEPuvXh++q+3hP6pVauwl6H9WGnj16HafZo2RewcSA hY+Zz2w0JmPTcucLUPGy4pTfc80UMQKVpcy4OS27XymVqKo4kGkw4FNd29yBjSw7uPB6 qS3pM3f6OPnvS909vZl9Iy+0jAl2f4gPbM+vN0suxiah7jHFEORcIxGkV975l01JCuPv eXSZbx7IJCoGnA41lDlftyKI+P5R0TaJq2ooOZoYJ/XV5d7wofAxWp7rcAW7KX9vkaUr FBXDM53rvj08em/6ow9AteQQg0ojP+sY6ov1C7G6sZxyNjDzuCi2Ds/ZCSkt+W1oEibi 5TZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ngLOjQTolNQltuogP7cYGzywyWBdusZYGrX+BchGXJU=; b=KVK53y36tK4MpAn1jLflQ/CG/Gou+ga/PPn2E0EKi1M/A/M6hYda1b20sPknyQkZqx mV89Q08YFK8+Wn+xOaiFkVO6HaczUf21gM5JKaPsQXtwYp/1UYkVDkIvvwZjpib20oHU RYjlH2Q73A7sURSSuHinBpzGTVAv/knHLhZknsdlO4FNMC8wk6EOnl7wgOvyx42vsRX3 5S+oO8wEJqV7tnCaN+CohkircJjwv0WGaqHR6iCmYeqopcJ+2jpg9PWEzNsaP81h+uTC 0ILgPxVWDylOwsijFWNLBlC7Z187LOjaQqPkQ5QL6TxsIlWtydlE8a1w2cVsp5P5I982 25Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PbYyFxYx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f22si6588748edx.179.2020.11.23.04.41.59; Mon, 23 Nov 2020 04:42:22 -0800 (PST) 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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PbYyFxYx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732005AbgKWMhr (ORCPT + 99 others); Mon, 23 Nov 2020 07:37:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:49986 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731987AbgKWMhn (ORCPT ); Mon, 23 Nov 2020 07:37:43 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B62BC22203; Mon, 23 Nov 2020 12:37:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606135063; bh=CNiP+4Hj3vw6UmF5OummcB34I0ZbFbNNqimg2SA/Qck=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PbYyFxYx9zsF9B7BazhOEw5ZmzNUEg4LHSgHjn/D/1zs2tg84HMNVKljwA+Pxvi7F uuK1nnGcUBLz8TeSK30E2PfHXdFGXQq4dH8EEq9qAX20/8lO/Hj/lpJdAFSLx0DPVp Frg3dgdHs0n6cV+wsvdbInhJ6MK49xAQ5ADobgTA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Randy Dunlap , Thomas Bogendoerfer , linux-mips@vger.kernel.org, Dan Williams , Vishal Verma , Dave Jiang , linux-nvdimm@lists.01.org, Hugh Dickins , Andrew Morton , Sasha Levin Subject: [PATCH 5.4 061/158] MIPS: export has_transparent_hugepage() for modules Date: Mon, 23 Nov 2020 13:21:29 +0100 Message-Id: <20201123121822.882979950@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201123121819.943135899@linuxfoundation.org> References: <20201123121819.943135899@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap [ Upstream commit 31b4d8e172f614adc53ddecb4b6b2f6411a49b84 ] MIPS should export its local version of "has_transparent_hugepage" so that loadable modules (dax) can use it. Fixes this build error: ERROR: modpost: "has_transparent_hugepage" [drivers/dax/dax.ko] undefined! Fixes: fd8cfd300019 ("arch: fix has_transparent_hugepage()") Reported-by: kernel test robot Signed-off-by: Randy Dunlap Cc: Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org Cc: Dan Williams Cc: Vishal Verma Cc: Dave Jiang Cc: linux-nvdimm@lists.01.org Cc: Hugh Dickins Cc: Andrew Morton Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- arch/mips/mm/tlb-r4k.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/mm/tlb-r4k.c b/arch/mips/mm/tlb-r4k.c index c13e46ced4252..60046445122b3 100644 --- a/arch/mips/mm/tlb-r4k.c +++ b/arch/mips/mm/tlb-r4k.c @@ -437,6 +437,7 @@ int has_transparent_hugepage(void) } return mask == PM_HUGE_MASK; } +EXPORT_SYMBOL(has_transparent_hugepage); #endif /* CONFIG_TRANSPARENT_HUGEPAGE */ -- 2.27.0