Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934292AbcJWNOr (ORCPT ); Sun, 23 Oct 2016 09:14:47 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:36189 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932740AbcJWNOp (ORCPT ); Sun, 23 Oct 2016 09:14:45 -0400 From: Alexander Kuleshov To: Thomas Gleixner Cc: Ingo Molnar , "H . Peter Anvin" , Andy Lutomirski , Borislav Petkov , Paolo Bonzini , linux-kernel@vger.kernel.org, Alexander Kuleshov Subject: [PATCH v2] x86/entry64: remove unused audit related macros Date: Sun, 23 Oct 2016 19:14:36 +0600 Message-Id: <20161023131436.2823-1-kuleshovmail@gmail.com> X-Mailer: git-send-email 2.8.0.rc3.1353.gea9bdc0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1304 Lines: 42 These macro ocured in the 86a1c34a929f commit (x86_64 syscall audit fast-path by Roland McGrath ). These defines were used in two-phase sycalls entry tracing, but this functionality was moved to the syscall_trace_enter() from arch/x86/entry/common.c in the 1f484aa69 commit (x86/entry: Move C entry and exit code to arch/x86/entry/common.c by Andy Lutomirski ). The syscall_trace_enter() now uses same defines from , so these defines are no longer used anywhere in entry_64.S and we may remove them. Signed-off-by: Alexander Kuleshov --- ChangeLog: v1 -> v2: - Added more details in the commit message. 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 ef766a3..4362f1c 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" -- 2.8.0.rc3.1353.gea9bdc0