projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6
[firefly-linux-kernel-4.4.55.git]
/
arch
/
powerpc
/
include
/
asm
/
topology.h
diff --git
a/arch/powerpc/include/asm/topology.h
b/arch/powerpc/include/asm/topology.h
index 09dd38c8882c59a208e19a7bc12d12d5cc1d7737..afe4aaa65c3b65b103b4a5f71e057f365b32ae65 100644
(file)
--- a/
arch/powerpc/include/asm/topology.h
+++ b/
arch/powerpc/include/asm/topology.h
@@
-85,6
+85,9
@@
static inline int pcibus_to_node(struct pci_bus *bus)
.balance_interval = 1, \
}
+extern int __node_distance(int, int);
+#define node_distance(a, b) __node_distance(a, b)
+
extern void __init dump_numa_cpu_topology(void);
extern int sysfs_add_device_to_node(struct sys_device *dev, int nid);