From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933898AbeBMJEo (ORCPT ); Tue, 13 Feb 2018 04:04:44 -0500 Received: from terminus.zytor.com ([198.137.202.136]:38297 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933638AbeBMJEk (ORCPT ); Tue, 13 Feb 2018 04:04:40 -0500 Date: Tue, 13 Feb 2018 01:03:11 -0800 From: tip-bot for Dominik Brodowski Message-ID: Cc: hpa@zytor.com, bp@alien8.de, tglx@linutronix.de, torvalds@linux-foundation.org, brgerst@gmail.com, jpoimboe@redhat.com, luto@kernel.org, linux@dominikbrodowski.net, linux-kernel@vger.kernel.org, dvlasenk@redhat.com, peterz@infradead.org, mingo@kernel.org Reply-To: linux@dominikbrodowski.net, linux-kernel@vger.kernel.org, jpoimboe@redhat.com, luto@kernel.org, brgerst@gmail.com, mingo@kernel.org, peterz@infradead.org, dvlasenk@redhat.com, bp@alien8.de, hpa@zytor.com, torvalds@linux-foundation.org, tglx@linutronix.de In-Reply-To: <20180211104949.12992-8-linux@dominikbrodowski.net> References: <20180211104949.12992-8-linux@dominikbrodowski.net> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/pti] x86/entry/64: Indent PUSH_AND_CLEAR_REGS and POP_REGS properly Git-Commit-ID: 92816f571af81e9a71cc6f3dc8ce1e2fcdf7b6b8 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 Commit-ID: 92816f571af81e9a71cc6f3dc8ce1e2fcdf7b6b8 Gitweb: https://git.kernel.org/tip/92816f571af81e9a71cc6f3dc8ce1e2fcdf7b6b8 Author: Dominik Brodowski AuthorDate: Sun, 11 Feb 2018 11:49:48 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:04:54 +0100 x86/entry/64: Indent PUSH_AND_CLEAR_REGS and POP_REGS properly ... same as the other macros in arch/x86/entry/calling.h Signed-off-by: Dominik Brodowski Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Brian Gerst Cc: Denys Vlasenko Cc: H. Peter Anvin Cc: Josh Poimboeuf Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: dan.j.williams@intel.com Link: http://lkml.kernel.org/r/20180211104949.12992-8-linux@dominikbrodowski.net Signed-off-by: Ingo Molnar --- arch/x86/entry/calling.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/entry/calling.h b/arch/x86/entry/calling.h index 5967501..6985440 100644 --- a/arch/x86/entry/calling.h +++ b/arch/x86/entry/calling.h @@ -97,7 +97,7 @@ For 32-bit we have the following conventions - kernel is built with #define SIZEOF_PTREGS 21*8 - .macro PUSH_AND_CLEAR_REGS rdx=%rdx rax=%rax +.macro PUSH_AND_CLEAR_REGS rdx=%rdx rax=%rax /* * Push registers and sanitize registers of values that a * speculation attack might otherwise want to exploit. The @@ -131,9 +131,9 @@ For 32-bit we have the following conventions - kernel is built with pushq %r15 /* pt_regs->r15 */ xorq %r15, %r15 /* nospec r15*/ UNWIND_HINT_REGS - .endm +.endm - .macro POP_REGS pop_rdi=1 skip_r11rcx=0 +.macro POP_REGS pop_rdi=1 skip_r11rcx=0 popq %r15 popq %r14 popq %r13 @@ -163,7 +163,7 @@ For 32-bit we have the following conventions - kernel is built with .macro icebp .byte 0xf1 - .endm +.endm /* * This is a sneaky trick to help the unwinder find pt_regs on the stack. The