Commit 2e5061e4 authored by Committed by Martin SchwidefskyBrowse files
[S390] Convert machine feature detection code to C.
From: Heiko Carstens <email@example.com> From: Carsten Otte <firstname.lastname@example.org> This lets us use defines for the magic bits in machine flags instead of using plain numbers all over the place. In addition on newer machines features/facilities are indicated by the result of the stfl instruction. So we use these bits instead of trying to execute new instructions and check wether we get an exception or not. Also the mvpg instruction is always available when in zArch mode, whereas the idte instruction is only available in zArch mode. This results in some minor optimizations. Signed-off-by: Heiko Carstens <email@example.com> Signed-off-by: Carsten Otte <firstname.lastname@example.org> Signed-off-by: Martin Schwidefsky <email@example.com>