Skip to content

Commit 140588b

Browse files
skittVasily Gorbik
authored andcommitted
s390: remove obsolete ieee_emulation_warnings
s390 math emulation was removed with commit 5a79859 ("s390: remove 31 bit support"), rendering ieee_emulation_warnings useless. The code still built because it was protected by CONFIG_MATHEMU, which was no longer selectable. This patch removes the sysctl_ieee_emulation_warnings declaration and the sysctl entry declaration. Link: https://lkml.kernel.org/r/[email protected] Reviewed-by: Vasily Gorbik <[email protected]> Signed-off-by: Stephen Kitt <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
1 parent 94e90f7 commit 140588b

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

arch/s390/include/asm/processor.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ void s390_update_cpu_mhz(void);
8484
void cpu_detect_mhz_feature(void);
8585

8686
extern const struct seq_operations cpuinfo_op;
87-
extern int sysctl_ieee_emulation_warnings;
8887
extern void execve_tail(void);
8988
extern void __bpon(void);
9089

kernel/sysctl.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -805,15 +805,6 @@ static struct ctl_table kern_table[] = {
805805
.extra2 = &maxolduid,
806806
},
807807
#ifdef CONFIG_S390
808-
#ifdef CONFIG_MATHEMU
809-
{
810-
.procname = "ieee_emulation_warnings",
811-
.data = &sysctl_ieee_emulation_warnings,
812-
.maxlen = sizeof(int),
813-
.mode = 0644,
814-
.proc_handler = proc_dointvec,
815-
},
816-
#endif
817808
{
818809
.procname = "userprocess_debug",
819810
.data = &show_unhandled_signals,

0 commit comments

Comments
 (0)