s390/nospec: Correct modules thunk offset calculation
authorVasily Gorbik <gor@linux.ibm.com>
Wed, 17 Jan 2024 10:50:46 +0000 (11:50 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 17 Apr 2024 11:38:02 +0000 (13:38 +0200)
commitea84f14d2a6b1a4fde17d2713dbdfdef7b84da87
tree798b7a03414dfe3a4d653b3b556d4b15c4cf546d
parent236d70f82bec6e1f3ab50a5242fc1c7f779e941e
s390/nospec: Correct modules thunk offset calculation

Fix offset calculation when branch target is more then 2Gb away.

Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/nospec-branch.c