diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-03-21 13:05:19 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-03-21 13:05:19 -0400 |
| commit | 028011e1391eab27e7bc113c2ac08d4f55584a75 (patch) | |
| tree | 679c03b4cd668f07901b2ebafcaf5de7ab7cbe14 /include/linux | |
| parent | 37bff62e98f675777e1e76173fe320f04062841d (diff) | |
| parent | 22e52b072dd87faa9b2559fe89d4e8f2370f81ca (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched-devel
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched-devel:
sched: add arch_update_cpu_topology hook.
sched: add exported arch_reinit_sched_domains() to header file.
sched: remove double unlikely from schedule()
sched: cleanup old and rarely used 'debug' features.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 1 | ||||
| -rw-r--r-- | include/linux/topology.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 3625fcaf5d0f..fed07d03364e 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
| @@ -790,6 +790,7 @@ struct sched_domain { | |||
| 790 | }; | 790 | }; |
| 791 | 791 | ||
| 792 | extern void partition_sched_domains(int ndoms_new, cpumask_t *doms_new); | 792 | extern void partition_sched_domains(int ndoms_new, cpumask_t *doms_new); |
| 793 | extern int arch_reinit_sched_domains(void); | ||
| 793 | 794 | ||
| 794 | #endif /* CONFIG_SMP */ | 795 | #endif /* CONFIG_SMP */ |
| 795 | 796 | ||
diff --git a/include/linux/topology.h b/include/linux/topology.h index 2d8dac8799cf..bd14f8b30f09 100644 --- a/include/linux/topology.h +++ b/include/linux/topology.h | |||
| @@ -50,6 +50,8 @@ | |||
| 50 | for_each_online_node(node) \ | 50 | for_each_online_node(node) \ |
| 51 | if (nr_cpus_node(node)) | 51 | if (nr_cpus_node(node)) |
| 52 | 52 | ||
| 53 | void arch_update_cpu_topology(void); | ||
| 54 | |||
| 53 | /* Conform to ACPI 2.0 SLIT distance definitions */ | 55 | /* Conform to ACPI 2.0 SLIT distance definitions */ |
| 54 | #define LOCAL_DISTANCE 10 | 56 | #define LOCAL_DISTANCE 10 |
| 55 | #define REMOTE_DISTANCE 20 | 57 | #define REMOTE_DISTANCE 20 |
