Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1D33FC7EE45 for ; Mon, 1 May 2023 07:51:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E6B8510E3C9; Mon, 1 May 2023 07:51:17 +0000 (UTC) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2385610E363 for ; Mon, 1 May 2023 07:51:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682927473; x=1714463473; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=aY/uu5mYmmcvSeTMw/oBdB7UZoL45qbGM9nYWxNT/Fs=; b=Kf/xxo61LdvHAgzcflgsl8A4D7BLxBbUTPgsLxQs+Se5qPGSAG2Gratv 0QFhI7DVBy2u8MWKbX/RwqUGWiOOEC3n/wV1Qgm6V9E4jq37kJT2LkCiH mqrpG0T7YVNdP3CkwFn+z6dwBcVH1tF8VTpkgAbiuLTvveT9Rg9NfmgJU jNqzi3DBhfLOZzWi6BcmjRfwpFiOOir2CyJ/X80aRgDpBjlvvyixN8NcF mI32yYHBzf1c9CytA4aHFJQA9IrUguQn9kXy8qBW2rmLrowwK+Ef8dU2x rjYi/H7abkCOK0xYIv8k+mlIpsZip8Dqu/WBUUEbjwck/WE1GlxqHSCYf A==; X-IronPort-AV: E=McAfee;i="6600,9927,10696"; a="346910720" X-IronPort-AV: E=Sophos;i="5.99,239,1677571200"; d="scan'208";a="346910720" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 May 2023 00:51:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10696"; a="870095222" X-IronPort-AV: E=Sophos;i="5.99,239,1677571200"; d="scan'208";a="870095222" Received: from lstrano-desk.jf.intel.com ([10.24.89.184]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 May 2023 00:51:10 -0700 From: Matthew Brost To: Date: Mon, 1 May 2023 00:50:58 -0700 Message-Id: <20230501075114.3108352-15-matthew.brost@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230501075114.3108352-1-matthew.brost@intel.com> References: <20230501075114.3108352-1-matthew.brost@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Intel-xe] [PATCH 14/30] maple_tree: Export mas_preallocate X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" The DRM GPUVA implementation needs this function. Signed-off-by: Matthew Brost --- lib/maple_tree.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 9e2735cbc2b4..ae37a167e25d 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -5726,6 +5726,7 @@ int mas_preallocate(struct ma_state *mas, gfp_t gfp) mas_reset(mas); return ret; } +EXPORT_SYMBOL_GPL(mas_preallocate); /* * mas_destroy() - destroy a maple state. -- 2.34.1