diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-12-09 20:49:50 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-12 15:47:21 +0300 |
commit | ee79d1bdb6a10499e53f80b1e8d14110215178ba (patch) | |
tree | e9273d48cadb0b2ba77865e3405ad5e3e9664ff9 /include/linux/topology.h | |
parent | c1dfdc7597d051b09555d4ae2acb90403e238746 (diff) | |
download | linux-ee79d1bdb6a10499e53f80b1e8d14110215178ba.tar.xz |
sched: let arch_update_cpu_topology indicate if topology changed
Change arch_update_cpu_topology so it returns 1 if the cpu topology changed
and 0 if it didn't change. This will be useful for the next patch which adds
a call to this function in partition_sched_domains.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/topology.h')
-rw-r--r-- | include/linux/topology.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/topology.h b/include/linux/topology.h index 117f1b7405cf..0c5b5ac36d8e 100644 --- a/include/linux/topology.h +++ b/include/linux/topology.h @@ -49,7 +49,7 @@ for_each_online_node(node) \ if (nr_cpus_node(node)) -void arch_update_cpu_topology(void); +int arch_update_cpu_topology(void); /* Conform to ACPI 2.0 SLIT distance definitions */ #define LOCAL_DISTANCE 10 |