[PATCH] ppc64: Add NUMA cpu summary at boot
[linux-2.6-block.git] / include / asm-powerpc / topology.h
index 015d28746e1b0a8e0590db4fcd80c991570d2295..f8a130af7d0915695d8f268ceef091e1685c01d8 100644 (file)
@@ -41,6 +41,10 @@ static inline int node_to_first_cpu(int node)
        .cache_hot_time         = (10*1000000),         \
        .cache_nice_tries       = 1,                    \
        .per_cpu_gain           = 100,                  \
+       .busy_idx               = 3,                    \
+       .idle_idx               = 1,                    \
+       .newidle_idx            = 2,                    \
+       .wake_idx               = 1,                    \
        .flags                  = SD_LOAD_BALANCE       \
                                | SD_BALANCE_EXEC       \
                                | SD_BALANCE_NEWIDLE    \
@@ -51,8 +55,12 @@ static inline int node_to_first_cpu(int node)
        .nr_balance_failed      = 0,                    \
 }
 
+extern void __init dump_numa_cpu_topology(void);
+
 #else
 
+static inline void dump_numa_cpu_topology(void) {}
+
 #include <asm-generic/topology.h>
 
 #endif /* CONFIG_NUMA */