diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-04 20:15:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-04 20:15:07 -0400 |
commit | 5941de8eadc287f3f47b87ce9888734ee07d210b (patch) | |
tree | 2f5a8e84c33ae2df61e4e807798a153d6b7f6fbb /arch/s390/include/asm/topology.h | |
parent | c44df7413fd711bca818111b94cbd7ce5f3600a9 (diff) | |
parent | c6557e7f2b6ae76a44653d38f835174074c42e05 (diff) |
Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6
* 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
[S390] move include/asm-s390 to arch/s390/include/asm
Diffstat (limited to 'arch/s390/include/asm/topology.h')
-rw-r--r-- | arch/s390/include/asm/topology.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/s390/include/asm/topology.h b/arch/s390/include/asm/topology.h new file mode 100644 index 000000000000..d96c91643458 --- /dev/null +++ b/arch/s390/include/asm/topology.h | |||
@@ -0,0 +1,33 @@ | |||
1 | #ifndef _ASM_S390_TOPOLOGY_H | ||
2 | #define _ASM_S390_TOPOLOGY_H | ||
3 | |||
4 | #include <linux/cpumask.h> | ||
5 | |||
6 | #define mc_capable() (1) | ||
7 | |||
8 | cpumask_t cpu_coregroup_map(unsigned int cpu); | ||
9 | |||
10 | extern cpumask_t cpu_core_map[NR_CPUS]; | ||
11 | |||
12 | #define topology_core_siblings(cpu) (cpu_core_map[cpu]) | ||
13 | |||
14 | int topology_set_cpu_management(int fc); | ||
15 | void topology_schedule_update(void); | ||
16 | |||
17 | #define POLARIZATION_UNKNWN (-1) | ||
18 | #define POLARIZATION_HRZ (0) | ||
19 | #define POLARIZATION_VL (1) | ||
20 | #define POLARIZATION_VM (2) | ||
21 | #define POLARIZATION_VH (3) | ||
22 | |||
23 | #ifdef CONFIG_SMP | ||
24 | void s390_init_cpu_topology(void); | ||
25 | #else | ||
26 | static inline void s390_init_cpu_topology(void) | ||
27 | { | ||
28 | }; | ||
29 | #endif | ||
30 | |||
31 | #include <asm-generic/topology.h> | ||
32 | |||
33 | #endif /* _ASM_S390_TOPOLOGY_H */ | ||