Skip to content

Commit

Permalink
s390/jump label,nss: let shared kernel support depend on !JUMP_LABEL
Browse files Browse the repository at this point in the history
We can have either shared kernel or jump label support, but not both.
If a kernel gets IPL'ed from an NSS it's not possible to patch the
text segment, since it's read-only.
Therefore any static branches cannot be updated. So we need to make
sure that shared kernel support is disabled if jump label support
is enabled.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Sep 26, 2012
1 parent f7ed68a commit 0eccc78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/s390/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,8 @@ config PFAULT
this option.

config SHARED_KERNEL
def_bool y
prompt "VM shared kernel support"
bool "VM shared kernel support"
depends on !JUMP_LABEL
help
Select this option, if you want to share the text segment of the
Linux kernel between different VM guests. This reduces memory
Expand Down

0 comments on commit 0eccc78

Please sign in to comment.