Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1540573 > unrolled thread
| Started by | Boris Ostrovsky <boris.ostrovsky@oracle.com> |
|---|---|
| First post | 2016-12-12 20:40 +0100 |
| Last post | 2016-12-15 13:00 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] x86/acpi: Use proper macro for invalid node Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2016-12-12 20:40 +0100
[tip:x86/urgent] x86/acpi: Use proper macro for invalid node tip-bot for Boris Ostrovsky <tipbot@zytor.com> - 2016-12-15 13:00 +0100
| From | Boris Ostrovsky <boris.ostrovsky@oracle.com> |
|---|---|
| Date | 2016-12-12 20:40 +0100 |
| Subject | [PATCH] x86/acpi: Use proper macro for invalid node |
| Message-ID | <sNEC5-8kr-3@gated-at.bofh.it> |
Use NUMA_NO_NODE instead of -1.
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
---
arch/x86/kernel/acpi/boot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 931ced8..db5bcd1 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -713,7 +713,7 @@ int acpi_map_cpu2node(acpi_handle handle, int cpu, int physid)
int nid;
nid = acpi_get_node(handle);
- if (nid != -1) {
+ if (nid != NUMA_NO_NODE) {
set_apicid_to_node(physid, nid);
numa_set_node(cpu, nid);
}
--
1.8.3.1
[toc] | [next] | [standalone]
| From | tip-bot for Boris Ostrovsky <tipbot@zytor.com> |
|---|---|
| Date | 2016-12-15 13:00 +0100 |
| Subject | [tip:x86/urgent] x86/acpi: Use proper macro for invalid node |
| Message-ID | <sOCRE-5ig-11@gated-at.bofh.it> |
| In reply to | #1540573 |
Commit-ID: 4370a3ef39f3d07342a1ae9967701bd697c8d9df
Gitweb: http://git.kernel.org/tip/4370a3ef39f3d07342a1ae9967701bd697c8d9df
Author: Boris Ostrovsky <boris.ostrovsky@oracle.com>
AuthorDate: Mon, 12 Dec 2016 14:29:52 -0500
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Thu, 15 Dec 2016 11:32:32 +0100
x86/acpi: Use proper macro for invalid node
Use NUMA_NO_NODE instead of -1.
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: len.brown@intel.com
Cc: rjw@rjwysocki.net
Cc: linux-acpi@vger.kernel.org
Cc: pavel@ucw.cz
Link: http://lkml.kernel.org/r/1481570993-13941-1-git-send-email-boris.ostrovsky@oracle.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
arch/x86/kernel/acpi/boot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 4764fa5..6f65b0e 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -715,7 +715,7 @@ int acpi_map_cpu2node(acpi_handle handle, int cpu, int physid)
int nid;
nid = acpi_get_node(handle);
- if (nid != -1) {
+ if (nid != NUMA_NO_NODE) {
set_apicid_to_node(physid, nid);
numa_set_node(cpu, nid);
}
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web