mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 04:59:05 -04:00
[PATCH] fix "cpu to node relationship fixup: map cpu to node"
Fix build error introduced by 3212fe1594
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>
This commit is contained in:
parent
a5b08073a0
commit
bbf2bef9f5
2 changed files with 2 additions and 2 deletions
|
|
@ -69,6 +69,8 @@ extern void unmap_cpu_from_node(int cpu, int nid);
|
|||
|
||||
|
||||
#else /* !CONFIG_NUMA */
|
||||
#define map_cpu_to_node(cpu, nid) do{}while(0)
|
||||
#define unmap_cpu_from_node(cpu, nid) do{}while(0)
|
||||
|
||||
#define paddr_to_nid(addr) 0
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue