From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753345AbeBJAUD (ORCPT ); Fri, 9 Feb 2018 19:20:03 -0500 Received: from ex13-edg-ou-001.vmware.com ([208.91.0.189]:15100 "EHLO EX13-EDG-OU-001.vmware.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753300AbeBJAUC (ORCPT ); Fri, 9 Feb 2018 19:20:02 -0500 From: Nadav Amit To: Thomas Gleixner CC: "H. Peter Anvin" , , Andy Lutomirski , , , Nadav Amit Subject: [PATCH] x86: Fix PTI comment in entry_SYSCALL_64 Date: Fri, 9 Feb 2018 09:06:38 -0800 Message-ID: <20180209170638.15161-1-namit@vmware.com> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The comment is confusing since the path is taken when PAGE_TABLE_ISOLATION is disabled (while the comment says it is not taken). Signed-off-by: Nadav Amit --- arch/x86/entry/entry_64.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S index 4a9bef6aca34..f4d4107a93b3 100644 --- a/arch/x86/entry/entry_64.S +++ b/arch/x86/entry/entry_64.S @@ -213,7 +213,7 @@ ENTRY(entry_SYSCALL_64) swapgs /* - * This path is not taken when PAGE_TABLE_ISOLATION is disabled so it + * This path is only taken when PAGE_TABLE_ISOLATION is disabled so it * is not required to switch CR3. */ movq %rsp, PER_CPU_VAR(rsp_scratch) -- 2.14.1