From patchwork Thu May 21 19:23:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jerome Glisse X-Patchwork-Id: 6458371 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 04356C0020 for ; Thu, 21 May 2015 19:26:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2BD2B2052D for ; Thu, 21 May 2015 19:26:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 47F55202AE for ; Thu, 21 May 2015 19:26:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754712AbbEUTZ7 (ORCPT ); Thu, 21 May 2015 15:25:59 -0400 Received: from mail-qk0-f177.google.com ([209.85.220.177]:33471 "EHLO mail-qk0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751702AbbEUTZ6 (ORCPT ); Thu, 21 May 2015 15:25:58 -0400 Received: by qkgv12 with SMTP id v12so64034744qkg.0 for ; Thu, 21 May 2015 12:25:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=3A9SmZDRhX0142kKTnkBHdm19fziokcSHmrOMXbZZGA=; b=Rk+j2718Cgt42vE0RBEQj50W6R/ajmigyQF6v2qXGgE8iVPZcO/okLOcXC25WOLbeA U0yeFftdcufOpYEnYCqL1VybMDr5uAwFxFA/ZlAJm4519dxG2fiN++lgSBKs4Ysf23RN hoyj6p5fmT78xXReoAEZnl1txXV8IZwltSbsePN4xTFYmmORGWEKeKrtodADzCuxD31p so+9epXlEzK5jG7qkaQ0tRMiBJ5UfDOeVmjmCbxq6hIhB2lLbe73mJm8KS6fC5QQ32xw JeWaIBxmCY346VwpdhMF0Uw+w/XbJEqbzXWnCxSHhcDeSEjTZbyyhBbEr9zjN+UDpWFx DWwg== X-Received: by 10.140.235.68 with SMTP id g65mr6373958qhc.96.1432236358175; Thu, 21 May 2015 12:25:58 -0700 (PDT) Received: from localhost.localdomain.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by mx.google.com with ESMTPSA id 64sm1309851qkw.13.2015.05.21.12.25.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 May 2015 12:25:57 -0700 (PDT) From: j.glisse@gmail.com To: akpm@linux-foundation.org Cc: Linus Torvalds , , Mel Gorman , "H. Peter Anvin" , Peter Zijlstra , Andrea Arcangeli , Johannes Weiner , Larry Woodman , Rik van Riel , Dave Airlie , Brendan Conoboy , Joe Donohue , Duncan Poole , Sherry Cheung , Subhash Gutti , John Hubbard , Mark Hairgrove , Lucien Dunning , Cameron Buschardt , Arvind Gopalakrishnan , Haggai Eran , Shachar Raindel , Liran Liss , Roland Dreier , Ben Sander , Greg Stoner , John Bridgman , Michael Mantor , Paul Blinzer , Laurent Morichetti , Alexander Deucher , Oded Gabbay , =?UTF-8?q?J=C3=A9r=C3=B4me=20Glisse?= , Subject: [PATCH 31/36] IB/odp: export rbt_ib_umem_for_each_in_range() Date: Thu, 21 May 2015 15:23:48 -0400 Message-Id: <1432236233-4035-32-git-send-email-j.glisse@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1432236233-4035-1-git-send-email-j.glisse@gmail.com> References: <1432236233-4035-1-git-send-email-j.glisse@gmail.com> MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_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: Jérôme Glisse The mlx5 driver will need this function for its driver specific bit of ODP (on demand paging) on HMM (Heterogeneous Memory Management). Signed-off-by: Jérôme Glisse cc: --- drivers/infiniband/core/umem_rbtree.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/infiniband/core/umem_rbtree.c b/drivers/infiniband/core/umem_rbtree.c index 727d788..f030ec0 100644 --- a/drivers/infiniband/core/umem_rbtree.c +++ b/drivers/infiniband/core/umem_rbtree.c @@ -92,3 +92,4 @@ int rbt_ib_umem_for_each_in_range(struct rb_root *root, return ret_val; } +EXPORT_SYMBOL(rbt_ib_umem_for_each_in_range);