aboutsummaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/topology.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/include/asm/topology.h')
-rw-r--r--arch/microblaze/include/asm/topology.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/topology.h b/arch/microblaze/include/asm/topology.h
new file mode 100644
index 00000000000..96bcea5a992
--- /dev/null
+++ b/arch/microblaze/include/asm/topology.h
@@ -0,0 +1,11 @@
+#include <asm-generic/topology.h>
+
+#ifndef _ASM_MICROBLAZE_TOPOLOGY_H
+#define _ASM_MICROBLAZE_TOPOLOGY_H
+
+struct device_node;
+static inline int of_node_to_nid(struct device_node *device)
+{
+ return 0;
+}
+#endif /* _ASM_MICROBLAZE_TOPOLOGY_H */