X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=Documentation%2Fcputopology.txt;h=b41f3e58aefa8581eda3fa35286791b4ae0117c7;hb=42469ff014812880d7324285d165841f4b1814e7;hp=45932ec21cee7cc2fadc11c96b831d435e4d9728;hpb=d62720ade82c5e5b8f9585e5ed02c89573ebf111;p=safe%2Fjmp%2Flinux-2.6 diff --git a/Documentation/cputopology.txt b/Documentation/cputopology.txt index 45932ec..b41f3e5 100644 --- a/Documentation/cputopology.txt +++ b/Documentation/cputopology.txt @@ -18,11 +18,11 @@ For an architecture to support this feature, it must define some of these macros in include/asm-XXX/topology.h: #define topology_physical_package_id(cpu) #define topology_core_id(cpu) -#define topology_thread_siblings(cpu) -#define topology_core_siblings(cpu) +#define topology_thread_cpumask(cpu) +#define topology_core_cpumask(cpu) The type of **_id is int. -The type of siblings is cpumask_t. +The type of siblings is (const) struct cpumask *. To be consistent on all architectures, include/linux/topology.h provides default definitions for any of the above macros that are