X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-ia64%2Ftopology.h;h=f2f72ef2a8974cc3496dc0fd92435626f708a7e8;hb=abe834c8a5d7e55ee12c0c8c7a5308b2c5cba95d;hp=2d67b72b18d07049d5ba0f46fea96369605a39ba;hpb=fb9fc395174138983a49f2da982ed14caabbe741;p=linux-2.6 diff --git a/include/asm-ia64/topology.h b/include/asm-ia64/topology.h index 2d67b72b18..f2f72ef2a8 100644 --- a/include/asm-ia64/topology.h +++ b/include/asm-ia64/topology.h @@ -93,7 +93,7 @@ void build_cpu_to_node_map(void); .cache_nice_tries = 2, \ .busy_idx = 3, \ .idle_idx = 2, \ - .newidle_idx = 0, /* unused */ \ + .newidle_idx = 2, \ .wake_idx = 1, \ .forkexec_idx = 1, \ .flags = SD_LOAD_BALANCE \ @@ -116,6 +116,11 @@ void build_cpu_to_node_map(void); #define smt_capable() (smp_num_siblings > 1) #endif +#define pcibus_to_cpumask(bus) (pcibus_to_node(bus) == -1 ? \ + CPU_MASK_ALL : \ + node_to_cpumask(pcibus_to_node(bus)) \ + ) + #include #endif /* _ASM_IA64_TOPOLOGY_H */