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)
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

Simple merge