linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] s390: remove obsolete ieee_emulation_warnings
@ 2020-02-14 17:26 Stephen Kitt
  2020-02-19 12:49 ` Vasily Gorbik
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Kitt @ 2020-02-14 17:26 UTC (permalink / raw)
  To: Heiko Carstens, Vasily Gorbik, Christian Borntraeger, linux-s390
  Cc: linux-kernel, Stephen Kitt

s390 math emulation was removed with commit 5a79859ae0f3 ("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.

Signed-off-by: Stephen Kitt <steve@sk2.org>
---
 arch/s390/include/asm/processor.h | 1 -
 kernel/sysctl.c                   | 9 ---------
 2 files changed, 10 deletions(-)

diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processor.h
index 361ef5eda468..aadb3d0e2adc 100644
--- a/arch/s390/include/asm/processor.h
+++ b/arch/s390/include/asm/processor.h
@@ -84,7 +84,6 @@ void s390_update_cpu_mhz(void);
 void cpu_detect_mhz_feature(void);
 
 extern const struct seq_operations cpuinfo_op;
-extern int sysctl_ieee_emulation_warnings;
 extern void execve_tail(void);
 extern void __bpon(void);
 
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index d396aaaf19a3..ad5b88a53c5a 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -805,15 +805,6 @@ static struct ctl_table kern_table[] = {
 		.extra2		= &maxolduid,
 	},
 #ifdef CONFIG_S390
-#ifdef CONFIG_MATHEMU
-	{
-		.procname	= "ieee_emulation_warnings",
-		.data		= &sysctl_ieee_emulation_warnings,
-		.maxlen		= sizeof(int),
-		.mode		= 0644,
-		.proc_handler	= proc_dointvec,
-	},
-#endif
 	{
 		.procname	= "userprocess_debug",
 		.data		= &show_unhandled_signals,

base-commit: 359c92c02bfae1a6f1e8e37c298e518fd256642c
-- 
2.24.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] s390: remove obsolete ieee_emulation_warnings
  2020-02-14 17:26 [PATCH] s390: remove obsolete ieee_emulation_warnings Stephen Kitt
@ 2020-02-19 12:49 ` Vasily Gorbik
  0 siblings, 0 replies; 2+ messages in thread
From: Vasily Gorbik @ 2020-02-19 12:49 UTC (permalink / raw)
  To: Stephen Kitt
  Cc: Heiko Carstens, Christian Borntraeger, linux-s390, linux-kernel

On Fri, Feb 14, 2020 at 06:26:28PM +0100, Stephen Kitt wrote:
> s390 math emulation was removed with commit 5a79859ae0f3 ("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.
> 
> Signed-off-by: Stephen Kitt <steve@sk2.org>
> ---
>  arch/s390/include/asm/processor.h | 1 -
>  kernel/sysctl.c                   | 9 ---------
>  2 files changed, 10 deletions(-)

Applied, thanks!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-19 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-14 17:26 [PATCH] s390: remove obsolete ieee_emulation_warnings Stephen Kitt
2020-02-19 12:49 ` Vasily Gorbik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).