From: Suresh Siddha <suresh.b.siddha@intel.com>
To: dwmw2@infradead.org
Cc: linux-kernel@vger.kernel.org,
Suresh Siddha <suresh.b.siddha@intel.com>,
a.beregalov@gmail.com, len.brown@intel.com
Subject: [patch 2/2] acpi: define acpi_map_pxm_to_node() for !CONFIG_NUMA
Date: Wed, 07 Oct 2009 10:00:51 -0700 [thread overview]
Message-ID: <20091007170149.169012562@sbs-t61.sc.intel.com> (raw)
In-Reply-To: <20091007170149.080617784@sbs-t61.sc.intel.com>
[-- Attachment #1: fix_acpi_map_pxm_to_node_for_nonnuma.patch --]
[-- Type: text/plain, Size: 870 bytes --]
Alexander Beregalov reported:
drivers/pci/dmar.c: In function 'dmar_parse_one_rhsa':
drivers/pci/dmar.c:360: error: implicit declaration of function
'acpi_map_pxm_to_node'
Reported-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
---
include/acpi/acpi_numa.h | 7 +++++++
1 file changed, 7 insertions(+)
Index: iommu-2.6/include/acpi/acpi_numa.h
===================================================================
--- iommu-2.6.orig/include/acpi/acpi_numa.h
+++ iommu-2.6/include/acpi/acpi_numa.h
@@ -16,5 +16,12 @@ extern int node_to_pxm(int);
extern void __acpi_map_pxm_to_node(int, int);
extern int acpi_map_pxm_to_node(int);
+#else /* !CONFIG_ACPI_NUMA */
+
+static inline int acpi_map_pxm_to_node(int pxm)
+{
+ return -1;
+}
+
#endif /* CONFIG_ACPI_NUMA */
#endif /* __ACP_NUMA_H */
prev parent reply other threads:[~2009-10-07 17:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-07 17:00 [patch 1/2] dmar: coding style cleanup for dmar_parse_one_rhsa() Suresh Siddha
2009-10-07 17:00 ` Suresh Siddha [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091007170149.169012562@sbs-t61.sc.intel.com \
--to=suresh.b.siddha@intel.com \
--cc=a.beregalov@gmail.com \
--cc=dwmw2@infradead.org \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®