aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/cpu.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-09-11 10:29:03 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-09-11 10:29:55 +0200
commit4bb5e07b68565d7983108993aa23eccf5f1b35fe (patch)
treea76f2d5933cc8d90878f3df2d29f09fbd952daca /arch/s390/include/asm/cpu.h
parent53f8c573ea3b54b7e1b81d2cd403373b08103736 (diff)
[S390] Limit cpu detection to 256 physical cpus.
Saves us more than 65k pointless IPIs. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/cpu.h')
-rw-r--r--arch/s390/include/asm/cpu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/s390/include/asm/cpu.h b/arch/s390/include/asm/cpu.h
new file mode 100644
index 000000000000..702ad46841cf
--- /dev/null
+++ b/arch/s390/include/asm/cpu.h
@@ -0,0 +1,6 @@
+#ifndef _ASM_S390_CPU_H
+#define _ASM_S390_CPU_H
+
+#define MAX_CPU_ADDRESS 255
+
+#endif /* _ASM_S390_CPU_H */