Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1741857imu; Wed, 28 Nov 2018 14:27:07 -0800 (PST) X-Google-Smtp-Source: AFSGD/XiU6yu0M+vNaDKoRkWExQX2XmlzQrP6wa6IDt3WmeF28tyW8S4L+Jr55SEGB7gAnNoRoxX X-Received: by 2002:a62:b80a:: with SMTP id p10mr15553563pfe.32.1543444027664; Wed, 28 Nov 2018 14:27:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543444027; cv=none; d=google.com; s=arc-20160816; b=eqKijSQ3eXGVP/D3iulm//EeLMYfSgnVI8P2/ObZBxeMW5ARKndjWatIMEdR+GfUsH S5wfgkvIxwIbs/aHJ4+z6q3CY9Lw++aphL2DqUCOX8UwFQ90GTU4pJp5qAwIcff5zTkF nr6GVTT6WvBAtooNRoYvNipqAW/r7iwfOlQwISsAL3Tsv23iPVf5QRrvf1+JypMh9SgN fOnVyonXw+mlKH5/o7LbMHFFJCNhCEz/iI9swdkM5SdTXuyOHc7XO0uG3xyLkXowTGFR IHGUllK6mqeGf3NU/Sg2AWjOzncxfj8ZeLFYrxoDi4xNIILIjssj7o5Adn/g301CUrsm lTKg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=JDh4GmJRLVkop03cM03hDNplyM2r0+/jkQJe767r72A=; b=dJEZYyiCUMjOuKqppaqFKrPpmMNQ2vXptfeBqTu43OCS645GrxF7sGa7m5Y+DDlFC3 CWirA4HEHnNnQhZnunSfdLDfgVRO3gZCa2Fsc2exhmK4UhEPip/Ae73VCCPFzag65aHH /dBR52++Zzy6BxuWaF4wEs/O97wskvhDBDkzrnlsnqFoyrfxykWq9Csf3G8qnBHUDWGk cJWU9CKbukozGf35P8dQ50tIFU3PLVRSd/HdhtzSvedVGcDwgxZlK6wAl6yEuljaUV+g Id3tbJkvHAtQ5ikSQiUxIXNJtU9xN/kAigNBoS0zccAQMm5/gIyDU6ssRAgQR0t2Ydqa /Bpg== 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 g10si8809285plq.371.2018.11.28.14.26.52; Wed, 28 Nov 2018 14:27:07 -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 S1726726AbeK2JYI (ORCPT + 99 others); Thu, 29 Nov 2018 04:24:08 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:33046 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726368AbeK2JYH (ORCPT ); Thu, 29 Nov 2018 04:24:07 -0500 Received: from localhost ([127.0.0.1] helo=bazinga.breakpoint.cc) by Galois.linutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1gS8CR-0001GX-9x; Wed, 28 Nov 2018 23:20:51 +0100 From: Sebastian Andrzej Siewior To: linux-kernel@vger.kernel.org Cc: x86@kernel.org, Andy Lutomirski , Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , kvm@vger.kernel.org, "Jason A. Donenfeld" , Rik van Riel , Dave Hansen , Sebastian Andrzej Siewior , Borislav Petkov Subject: [PATCH 03/29] x86/entry: Remove _TIF_ALLWORK_MASK Date: Wed, 28 Nov 2018 23:20:09 +0100 Message-Id: <20181128222035.2996-4-bigeasy@linutronix.de> X-Mailer: git-send-email 2.20.0.rc1 In-Reply-To: <20181128222035.2996-1-bigeasy@linutronix.de> References: <20181128222035.2996-1-bigeasy@linutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no user of _TIF_ALLWORK_MASK since commit 21d375b6b34ff ("x86/entry/64: Remove the SYSCALL64 fast path"). Remove unused define _TIF_ALLWORK_MASK. Reviewed-by: Borislav Petkov Signed-off-by: Sebastian Andrzej Siewior --- arch/x86/include/asm/thread_info.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h index 2ff2a30a264f4..cd6920674b905 100644 --- a/arch/x86/include/asm/thread_info.h +++ b/arch/x86/include/asm/thread_info.h @@ -136,14 +136,6 @@ struct thread_info { _TIF_SECCOMP | _TIF_SYSCALL_TRACEPOINT | \ _TIF_NOHZ) -/* work to do on any return to user space */ -#define _TIF_ALLWORK_MASK \ - (_TIF_SYSCALL_TRACE | _TIF_NOTIFY_RESUME | _TIF_SIGPENDING | \ - _TIF_NEED_RESCHED | _TIF_SINGLESTEP | _TIF_SYSCALL_EMU | \ - _TIF_SYSCALL_AUDIT | _TIF_USER_RETURN_NOTIFY | _TIF_UPROBE | \ - _TIF_PATCH_PENDING | _TIF_NOHZ | _TIF_SYSCALL_TRACEPOINT | \ - _TIF_FSCHECK) - /* flags to check in __switch_to() */ #define _TIF_WORK_CTXSW \ (_TIF_IO_BITMAP|_TIF_NOCPUID|_TIF_NOTSC|_TIF_BLOCKSTEP|_TIF_SSBD) -- 2.20.0.rc1