mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 20:24:12 +08:00
s390/fpu: remove "novx" option
Remove the "novx" kernel command line option: the vector code runs without any problems since many years. Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
This commit is contained in:
parent
d7f679ec86
commit
af6ed37eb0
@ -271,14 +271,6 @@ static inline void setup_access_registers(void)
|
||||
restore_access_regs(acrs);
|
||||
}
|
||||
|
||||
static int __init disable_vector_extension(char *str)
|
||||
{
|
||||
S390_lowcore.machine_flags &= ~MACHINE_FLAG_VX;
|
||||
system_ctl_clear_bit(0, CR0_VECTOR_BIT);
|
||||
return 0;
|
||||
}
|
||||
early_param("novx", disable_vector_extension);
|
||||
|
||||
char __bootdata(early_command_line)[COMMAND_LINE_SIZE];
|
||||
static void __init setup_boot_command_line(void)
|
||||
{
|
||||
|
@ -201,10 +201,7 @@ static int __init setup_hwcaps(void)
|
||||
if (MACHINE_HAS_TE)
|
||||
elf_hwcap |= HWCAP_TE;
|
||||
|
||||
/*
|
||||
* Vector extension can be disabled with the "novx" parameter.
|
||||
* Use MACHINE_HAS_VX instead of facility bit 129.
|
||||
*/
|
||||
/* Use MACHINE_HAS_VX instead of facility bit 129. */
|
||||
if (MACHINE_HAS_VX) {
|
||||
elf_hwcap |= HWCAP_VXRS;
|
||||
if (test_facility(134))
|
||||
|
Loading…
Reference in New Issue
Block a user