Received: by 2002:aa6:c429:0:b029:98:93ff:f56f with SMTP id g9csp3386332lkq; Mon, 23 Nov 2020 04:30:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJx1/t5B16E6PbxUtb9Wq8MQpZ0URNCWxKzCIT36+lD69eQS7BTYkvum71IrUafQycazO9DI X-Received: by 2002:a17:906:3a59:: with SMTP id a25mr45585056ejf.546.1606134655583; Mon, 23 Nov 2020 04:30:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606134655; cv=none; d=google.com; s=arc-20160816; b=04rS92uG+YmpdZUZyHwWuIJHVcqQd806ywsZQBBvvO2jy7j+Z2en+7pnAEdxh1Kxve sFwE4EvFdSJkg+UWi3LEaDaIDevajErelJZ1W1522jrMDe3RerQPeaNRo/swp2odIuO4 nQRvcsUc+g+XEAy+MbDOZVKUJPkK99i8EZCwAwDRQOx7iTLGSEFyeMgQHrVJtZX+VH62 09+GxL7glhPlv1qfSf6m0uVKExSQq+Vf4klsgetALAlcx399U7hxrOrI/KrjsoxFvCC8 joU9Qm6K26e2ARTZ4nNE0mMVLfScRmFEmE6cQIEKPilhLXyNlUSCY9Y2b49fFt7Zwreq 2AKw== 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=LRoIDHTD/i3GD4jkjrxa1tfs2FfPg4dn25+Nxq5SLUA=; b=tEXpvDCc1YTjcpkY+rly7AWt5gAxsnX0ZgSmdhKnfICsY5kw8CMBKusFE2CjQQY4Kr S/iLQadoZnQRx8P6uGmcUyUFceCFskqaMjjw3JoGffjz+TTMDTPfhWYg4wBBh6H0P7pl t3K0Wrn1jhf0q2PEKNGhvde8TkY2lR+SkT2nls1FCnqvm5JA0jO/WwutwquUGT/F0pqS 1eWRBgXdKBn/LRG0RXDz+v2pZondDiTHtZNUzi7rRwhS6e+VqiB3cryzxn1QDSdb9SJ3 3H6ZlUWgsKBPM7RNE+VrPGksJ6WxSCbgEfqyzSoVhGJDCPJeLQhaYIedhJNrn7KqqQWm XRKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=he2CNP2J; 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 x18si7214205ejd.193.2020.11.23.04.30.32; Mon, 23 Nov 2020 04:30:55 -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=he2CNP2J; 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 S1730156AbgKWM0a (ORCPT + 99 others); Mon, 23 Nov 2020 07:26:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:36272 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730146AbgKWM02 (ORCPT ); Mon, 23 Nov 2020 07:26:28 -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 743BB2076E; Mon, 23 Nov 2020 12:26:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606134387; bh=frCVka9YuGqxr2RrDANFnW8tkhiq/VbNt2PTcU9GSGs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=he2CNP2JfSz3SRBG9V7gwEOPOCXY5CvTJCTBpfjMPVN1bbMSkLAwiYPL/3k3FqxmF ICfkFkdY3JWioWoTZQMBC1Yc4y7wlrHkxM4Y5eXIiagCDWy5N+Ii0qv5y3S8VIf705 hSI0ex9rdXllik1LxtJRREQaskl6Wk0bMWGWh3is= 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 4.9 23/47] MIPS: export has_transparent_hugepage() for modules Date: Mon, 23 Nov 2020 13:22:09 +0100 Message-Id: <20201123121806.663159108@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201123121805.530891002@linuxfoundation.org> References: <20201123121805.530891002@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 0596505770dba..11985399c4695 100644 --- a/arch/mips/mm/tlb-r4k.c +++ b/arch/mips/mm/tlb-r4k.c @@ -424,6 +424,7 @@ int has_transparent_hugepage(void) } return mask == PM_HUGE_MASK; } +EXPORT_SYMBOL(has_transparent_hugepage); #endif /* CONFIG_TRANSPARENT_HUGEPAGE */ -- 2.27.0