From patchwork Wed May 23 18:24:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Hildenbrand X-Patchwork-Id: 10422021 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 73F5F6053B for ; Wed, 23 May 2018 18:24:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 64D7A2910F for ; Wed, 23 May 2018 18:24:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5993C29126; Wed, 23 May 2018 18:24:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 846B42910F for ; Wed, 23 May 2018 18:24:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4764D6B0008; Wed, 23 May 2018 14:24:17 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 3D2FB6B000A; Wed, 23 May 2018 14:24:17 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 29A676B000C; Wed, 23 May 2018 14:24:17 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-qt0-f198.google.com (mail-qt0-f198.google.com [209.85.216.198]) by kanga.kvack.org (Postfix) with ESMTP id 0650F6B0008 for ; Wed, 23 May 2018 14:24:17 -0400 (EDT) Received: by mail-qt0-f198.google.com with SMTP id v5-v6so22934782qto.13 for ; Wed, 23 May 2018 11:24:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:message-id:in-reply-to:references; bh=3lU6RqrdTB6OcvZcRN3CbFD1dLibBOwHnMIKiYXFaK4=; b=YR02PElpNkAb9GRKX3aIkjQ63oqFf+1VwN0juIChT+7McJRpXcDlC0qBX322HmkH7n Js2M3sBTzWv1gHLDmMpwbyBBJ9SPqEGbTySYt7n9yCT821skVS6NypZRvlL3fSOiBsku D8vnljtD+oilSqR29X06FXU+JW2ejghrtthlzyYwjBHVgNHQMz31tZGrenbeatBEHJ0w ywnA6ekigqTuAIoix1EQjAqu8CKjE/3PK1HeblK1BGL84Whn2jyzr6IDDEEa84UaEIRL 56zxjoBEeklvDJO7DhX5yk+52RJqulyaAkJdvR54h+pUNAq2Vnfo3A0Y075bSDhvbz1z NUiw== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of david@redhat.com designates 66.187.233.73 as permitted sender) smtp.mailfrom=david@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Gm-Message-State: ALKqPwd750keDoD0BMZI96BCPAjc7De0ryGma9SxKBQamCo/8ai4Q52G xEbNoKsbz6TtaWAdNYDtIobA6rknHOWAQWv42ewyFlPVwl6/zdaTTjTcrHNtrf6wvQTyOpN0rgC ZtB/OU6TKU3JkLWawB9tPo3l7geDOslJwVQMQVTGIuip+PzLYhYujnpkdXz0glFloVA== X-Received: by 2002:a0c:920d:: with SMTP id a13-v6mr3719543qva.128.1527099856826; Wed, 23 May 2018 11:24:16 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrUGm8YTN+OgqY7JmPXELiCQPQzpNmc18m2FOWku8QW9IVH/xNZNCRiw6T6Xlf60K+1Aagr X-Received: by 2002:a0c:920d:: with SMTP id a13-v6mr3719507qva.128.1527099856361; Wed, 23 May 2018 11:24:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527099856; cv=none; d=google.com; s=arc-20160816; b=O74OuUCqKFA5v38D1iP5eaY9RrRpepiMRTL3xwNeW1500N+6EMrnFzIxZc6C1A2KhN fQNv668tFjNPhY2niwi1Il7jVKOCReh4a/lKQIlN9RplH8kJ+ZJKhjfYlV3dJe9hfLya Zz3/pPNeIfAIKenWq5hNKC3fYQP7mm6rhq4kyEPnTrXOoTufmX/3OZardlAcBTHOCn3C LObAiMzHcs5zx3WdyjqeV6evyi34rLkz1uC2n8FNKx5QRdpxrl7sqs3F79y5EYcJpvY8 c7kbrnlFiJxLuBZc/hYTKzAiSt2sE3SMItuxJM9r6O+cew4Q+lhMCmaoxS+rkoxyn0sw OBCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=3lU6RqrdTB6OcvZcRN3CbFD1dLibBOwHnMIKiYXFaK4=; b=vo9+MVvMjruHych1m0PpF7b5LS0fap1o0VJ5N7rMLAApMS4SK8oiGTSrDRnBDoj4+Q 40RYMeFuhpk/F0T8USjLRZvqwbNhRhSDP/vx/YuLqCmf/9QnvNA/tUAqhGfg7wgYm5U9 hmDPvxOAcj41VNQD6TCe8MUlhu8rkLRATPT7DBda9OoXYxJ4SJa83OdEhae4nwi1mBlU os0v5kqPY4xVSMWCkpyVW8anG91SwDylW2XnckF/7IZkJUwKar4GdamPTRkWmSBr0LgE nUNXtvPDUpM35AIHPI6pKk8Nna+kJjMUHJlJRNyFAcfPknTZWIG3Yjn7wm5xyvHgaVxw R71g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of david@redhat.com designates 66.187.233.73 as permitted sender) smtp.mailfrom=david@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from mx1.redhat.com (mx3-rdu2.redhat.com. [66.187.233.73]) by mx.google.com with ESMTPS id e129-v6si4614575qka.244.2018.05.23.11.24.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 May 2018 11:24:16 -0700 (PDT) Received-SPF: pass (google.com: domain of david@redhat.com designates 66.187.233.73 as permitted sender) client-ip=66.187.233.73; Authentication-Results: mx.google.com; spf=pass (google.com: domain of david@redhat.com designates 66.187.233.73 as permitted sender) smtp.mailfrom=david@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 141CD88842; Wed, 23 May 2018 18:24:16 +0000 (UTC) Received: from t460s.redhat.com (ovpn-116-62.ams2.redhat.com [10.36.116.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 019EE10C5653; Wed, 23 May 2018 18:24:14 +0000 (UTC) From: David Hildenbrand To: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, David Hildenbrand , "Rafael J. Wysocki" , Len Brown , linux-acpi@vger.kernel.org Subject: [PATCH RFCv2 1/4] ACPI: NUMA: export pxm_to_node Date: Wed, 23 May 2018 20:24:01 +0200 Message-Id: <20180523182404.11433-2-david@redhat.com> In-Reply-To: <20180523182404.11433-1-david@redhat.com> References: <20180523182404.11433-1-david@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Wed, 23 May 2018 18:24:16 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Wed, 23 May 2018 18:24:16 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'david@redhat.com' RCPT:'' X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP Will be needed by paravirtualized memory devices. Cc: "Rafael J. Wysocki" Cc: Len Brown Cc: linux-acpi@vger.kernel.org Signed-off-by: David Hildenbrand --- drivers/acpi/numa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c index 85167603b9c9..7ffee2959350 100644 --- a/drivers/acpi/numa.c +++ b/drivers/acpi/numa.c @@ -50,6 +50,7 @@ int pxm_to_node(int pxm) return NUMA_NO_NODE; return pxm_to_node_map[pxm]; } +EXPORT_SYMBOL(pxm_to_node); int node_to_pxm(int node) {