s390/jump label: add sanity checks
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 29 Jan 2015 12:45:35 +0000 (13:45 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 29 Jan 2015 15:33:33 +0000 (16:33 +0100)
commit5c6497c50f8d809eac6d01512c291a1f67382abd
tree30190eca92d8d9509862f147406c0dc4cba0b833
parentdb1177ee6206f957f579fdbfebb2c6a64e82c694
s390/jump label: add sanity checks

Add sanity checks to verify that only expected code will be replaced.
If the code patterns do not match print the code patterns and panic,
since something went terribly wrong.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/jump_label.c