Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965771AbcJYKcC (ORCPT ); Tue, 25 Oct 2016 06:32:02 -0400 Received: from terminus.zytor.com ([198.137.202.10]:60948 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965727AbcJYKb7 (ORCPT ); Tue, 25 Oct 2016 06:31:59 -0400 Date: Tue, 25 Oct 2016 03:30:48 -0700 From: tip-bot for Alexander Kuleshov Message-ID: Cc: tglx@linutronix.de, linux-kernel@vger.kernel.org, jpoimboe@redhat.com, mingo@kernel.org, brgerst@gmail.com, hpa@zytor.com, torvalds@linux-foundation.org, peterz@infradead.org, luto@kernel.org, bp@suse.de, dvlasenk@redhat.com, bp@alien8.de, kuleshovmail@gmail.com, pbonzini@redhat.com Reply-To: kuleshovmail@gmail.com, bp@alien8.de, pbonzini@redhat.com, dvlasenk@redhat.com, hpa@zytor.com, brgerst@gmail.com, bp@suse.de, peterz@infradead.org, luto@kernel.org, torvalds@linux-foundation.org, tglx@linutronix.de, mingo@kernel.org, linux-kernel@vger.kernel.org, jpoimboe@redhat.com In-Reply-To: <20161023135646.4453-1-kuleshovmail@gmail.com> References: <20161023135646.4453-1-kuleshovmail@gmail.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/asm] x86/entry64: Remove unused audit related macros Git-Commit-ID: 5e25d5bdf6d407224ad185a3fb8b870ad7d6c627 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2075 Lines: 57 Commit-ID: 5e25d5bdf6d407224ad185a3fb8b870ad7d6c627 Gitweb: http://git.kernel.org/tip/5e25d5bdf6d407224ad185a3fb8b870ad7d6c627 Author: Alexander Kuleshov AuthorDate: Sun, 23 Oct 2016 19:56:46 +0600 Committer: Ingo Molnar CommitDate: Tue, 25 Oct 2016 11:43:31 +0200 x86/entry64: Remove unused audit related macros These macros were added in the following commit: 86a1c34a929f ("x86_64 syscall audit fast-path") They were used in two-phase sycalls entry tracing, but this functionality was then moved to the arch/x86/entry/common.c:syscall_trace_enter() function, in the following commit: 1f484aa69046 ("x86/entry: Move C entry and exit code to arch/x86/entry/common.c") syscall_trace_enter() now uses the defines from , so these defines entry_64.S are no longer used anywhere. Signed-off-by: Alexander Kuleshov Reviewed-by: Borislav Petkov Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Brian Gerst Cc: Denys Vlasenko Cc: H. Peter Anvin Cc: Josh Poimboeuf Cc: Linus Torvalds Cc: Paolo Bonzini Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/20161023135646.4453-1-kuleshovmail@gmail.com Signed-off-by: Ingo Molnar --- arch/x86/entry/entry_64.S | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S index 65fad8a..5b21970 100644 --- a/arch/x86/entry/entry_64.S +++ b/arch/x86/entry/entry_64.S @@ -38,12 +38,6 @@ #include #include -/* Avoid __ASSEMBLER__'ifying just for this. */ -#include -#define AUDIT_ARCH_X86_64 (EM_X86_64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) -#define __AUDIT_ARCH_64BIT 0x80000000 -#define __AUDIT_ARCH_LE 0x40000000 - .code64 .section .entry.text, "ax"