Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2031395ybv; Fri, 14 Feb 2020 10:08:37 -0800 (PST) X-Google-Smtp-Source: APXvYqzjp+1MD/E9siQ95AE3iQHC4mFGI0j8zitW9/cFnSZh1iskHlo1WCujAlyFotZxvsATRiAc X-Received: by 2002:a05:6830:1689:: with SMTP id k9mr3425617otr.311.1581703717653; Fri, 14 Feb 2020 10:08:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581703717; cv=none; d=google.com; s=arc-20160816; b=sChrugCAXEHvW8SRy0SfstZ4+klLMxSCF/jdKEr3wi4GgaI8Mct+KsnB3vqwvUSZHa VO13i+tiiBJ/1KB92RZwW1dd/73+eCKocYbWDeqiUY8baj6WTbf8+edBH+iMpsqxAg4R D1aL/kZX6mFHJn0LeI3K1NtrPVo6xiE+IoGKN17eE8L0HZW6WQDSOwxGfTnnFSyku1p7 7P9AMRzMu2LlVNuqA3Utzvcj45OuNSwRCJImp+aVKiiLrh3He9riIIgDeK3Z4/PZxV2v wIy07cxLUPCc1i598LQ1WQYk13kVTyX+Ba1HvVtYoZO3l4SL98MlyE05tj4m3GBAefUY PXGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=QtxjRUhMLK0z83J33saYbUBhLO4ZXNupshoLS/bFb0Y=; b=nJSEpSh6livk4ms4UIgfHpBrT3owglxqIDrW2427CKpBGiq5zzxLQGVD5QvwC5BamF rLp9py2BJeapdoLhat5JO68kaAAH33u/Cy/zGmYDOppcn4SeoVS1d79VM2i+mxUxj+OJ L09qvz7+2lSX+moB7tNEtyc3WXaIqppB0cRZrYpT4AArRyBmhRPz58L0GkgVPmQBnmLd lUfA8KCPsNE8wPqZebAgzScTA4uWNJOf3XTba+NdWqCVeWUp50oqPpmGb2/2VmDJWJNx Ra2M7llC8VCWw84+73sLWcvs4QrMMDsyK48ej9Wsd+3lMvyJqXZGzIJxjclA9nsVg3lS +Klw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p22si3290861ota.43.2020.02.14.10.08.25; Fri, 14 Feb 2020 10:08:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389024AbgBNSGy (ORCPT + 99 others); Fri, 14 Feb 2020 13:06:54 -0500 Received: from 15.mo4.mail-out.ovh.net ([91.121.62.11]:36643 "EHLO 15.mo4.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392088AbgBNSGw (ORCPT ); Fri, 14 Feb 2020 13:06:52 -0500 Received: from player798.ha.ovh.net (unknown [10.108.57.211]) by mo4.mail-out.ovh.net (Postfix) with ESMTP id 327952232F8 for ; Fri, 14 Feb 2020 18:27:50 +0100 (CET) Received: from sk2.org (cre33-1_migr-88-122-126-116.fbx.proxad.net [88.122.126.116]) (Authenticated sender: steve@sk2.org) by player798.ha.ovh.net (Postfix) with ESMTPSA id 96C63F80209B; Fri, 14 Feb 2020 17:27:38 +0000 (UTC) From: Stephen Kitt To: Heiko Carstens , Vasily Gorbik , Christian Borntraeger , linux-s390@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Stephen Kitt Subject: [PATCH] s390: remove obsolete ieee_emulation_warnings Date: Fri, 14 Feb 2020 18:26:28 +0100 Message-Id: <20200214172628.3598516-1-steve@sk2.org> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 15606661560320675101 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrjedtgddutddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefuthgvphhhvghnucfmihhtthcuoehsthgvvhgvsehskhdvrdhorhhgqeenucfkpheptddrtddrtddrtddpkeekrdduvddvrdduvdeirdduudeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepphhlrgihvghrjeelkedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehsthgvvhgvsehskhdvrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhg Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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