summaryrefslogtreecommitdiffstats
path: root/arch/s390/Makefile
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2008-12-25 13:39:19 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-12-25 13:39:12 +0100
commite37f50e1811d68170e4d58a087cf634b2bf1cef9 (patch)
tree49296845bd5e651ca7ec70f1dedca6db8deedb66 /arch/s390/Makefile
parentb3b59d3339c907b1dec3ce19f62b2a7f120d142d (diff)
downloadop-kernel-dev-e37f50e1811d68170e4d58a087cf634b2bf1cef9.zip
op-kernel-dev-e37f50e1811d68170e4d58a087cf634b2bf1cef9.tar.gz
[S390] Add processor type march=z10 and a processor type safety check.
This patch adds the code generation option for IBM System z10 and adds a check in head[31,64].S to prevents the execution of a kernel compiled for a new processor type on an old machine. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/Makefile')
-rw-r--r--arch/s390/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/Makefile b/arch/s390/Makefile
index 792a4e7..578c61f 100644
--- a/arch/s390/Makefile
+++ b/arch/s390/Makefile
@@ -34,6 +34,7 @@ cflags-$(CONFIG_MARCH_G5) += $(call cc-option,-march=g5)
cflags-$(CONFIG_MARCH_Z900) += $(call cc-option,-march=z900)
cflags-$(CONFIG_MARCH_Z990) += $(call cc-option,-march=z990)
cflags-$(CONFIG_MARCH_Z9_109) += $(call cc-option,-march=z9-109)
+cflags-$(CONFIG_MARCH_Z10) += $(call cc-option,-march=z10)
#KBUILD_IMAGE is necessary for make rpm
KBUILD_IMAGE :=arch/s390/boot/image
OpenPOWER on IntegriCloud