Merge branch 'cpus4096' into core/percpu
[deliverable/linux.git] / arch / x86 / include / asm / topology.h
index ffea1fe03a99afad1321715898dea2c8f0042be4..10022ed3a4b6acdf99a518d04ff3e2d41de947fa 100644 (file)
@@ -190,9 +190,20 @@ extern int __node_distance(int, int);
 
 #else /* !CONFIG_NUMA */
 
-#define numa_node_id()         0
-#define        cpu_to_node(cpu)        0
-#define        early_cpu_to_node(cpu)  0
+static inline int numa_node_id(void)
+{
+       return 0;
+}
+
+static inline int cpu_to_node(int cpu)
+{
+       return 0;
+}
+
+static inline int early_cpu_to_node(int cpu)
+{
+       return 0;
+}
 
 static inline const cpumask_t *cpumask_of_node(int node)
 {
This page took 0.025835 seconds and 5 git commands to generate.