]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
s390: fix kernel oops for CONFIG_MARCH_Z900=y builds
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 25 Nov 2016 08:53:42 +0000 (09:53 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 25 Nov 2016 09:07:55 +0000 (10:07 +0100)
commit61aaef51cc98314b4c9a87f0b27c0493ce111867
tree17674d7d8060ed8f9d7024946f465384be16cfc1
parent5c5afd0201221be578ec200dfedfa04acda529c1
s390: fix kernel oops for CONFIG_MARCH_Z900=y builds

The LAST_BREAK macro in entry.S uses a different instruction sequence
for CONFIG_MARCH_Z900 builds. The branch target offset to skip the
store of the last breaking event address needs to take the different
length of the code block into account.

Fixes: f8fc82b47149e344 ("s390: move sys_call_table and last_break from thread_info to thread_struct")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/entry.S