diff options
author | KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> | 2006-09-27 04:49:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-27 11:26:08 -0400 |
commit | bbf2bef9f50eb119ffadd735eb0966ac8a04f91f (patch) | |
tree | 8eee0357d62723aedb04787c0e398695a7704d16 /include/asm-ia64 | |
parent | a5b08073a0b512d75fa1a7f82ee850e5c105cce9 (diff) |
[PATCH] fix "cpu to node relationship fixup: map cpu to node"
Fix build error introduced by 3212fe1594e577463bc8601d28aa008f520c3377
Non-NUMA case should be handled.
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-ia64')
-rw-r--r-- | include/asm-ia64/numa.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ia64/numa.h b/include/asm-ia64/numa.h index e0a1d173e42d..7d5e2ccc37a0 100644 --- a/include/asm-ia64/numa.h +++ b/include/asm-ia64/numa.h | |||
@@ -69,6 +69,8 @@ extern void unmap_cpu_from_node(int cpu, int nid); | |||
69 | 69 | ||
70 | 70 | ||
71 | #else /* !CONFIG_NUMA */ | 71 | #else /* !CONFIG_NUMA */ |
72 | #define map_cpu_to_node(cpu, nid) do{}while(0) | ||
73 | #define unmap_cpu_from_node(cpu, nid) do{}while(0) | ||
72 | 74 | ||
73 | #define paddr_to_nid(addr) 0 | 75 | #define paddr_to_nid(addr) 0 |
74 | 76 | ||