From patchwork Thu May 18 22:03:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 96071 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp830701vqo; Thu, 18 May 2023 15:12:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5b95BzPOwYkNai5BE3PGy59E4wNQCrRU4eN5oPE2kVlx0snPEJBFbECttKpaY6QVu5cUsn X-Received: by 2002:a17:903:48a:b0:1a5:22f3:220d with SMTP id jj10-20020a170903048a00b001a522f3220dmr470788plb.49.1684447966278; Thu, 18 May 2023 15:12:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684447966; cv=none; d=google.com; s=arc-20160816; b=EMeIDfDd42DZy82ftAjYPl07fAAn3CE+MiNAcb93TDSwRnBLJd4gOiY2dz5y91l3mO bcem7/z9ulEpXlMuyCLCX/cYpapKufP7m7r9p8aRQkDoFF60x8bSDXCo24F+SB1v8sh+ dAoDN/36Cl+NkwHk7GoIrJCS4rp1yUFPyM51VxYzlgfwIphzTKoRZbt8Um/iNiJ4yf24 0djDtmgHMnEVMkkQCSZt1FgsJBiWJypq3pxLbgnnK1gb+R4lJUZA9zK3K98n060EfCvP G31gisJ1aN0KulmJAItamqYpcGiMM0T7YrqxdxjRcRzUSm96gKYanVOZZ9VtWsSHygMY NshQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:cc:subject:to:reply-to:sender:from :dkim-signature:dkim-signature:date; bh=dcyvsg0Btvdn8+Kef5n19qjzFQcju1U15FF4mHUaMJg=; b=QzZrcb/TdtR/KVve+w0H8/vGTAEtIb1edCKPOT/aMKYNeRFsbfVNWbZ4RYUgv/pARA E42cTHxMK2CxZOWuShWDOx3y0C0NXCUKKixpf8a38a4aq3nsiX4q8Y3I+ZC1viuGnz3L ftDTJP1e/aC0oXCtfXStKNpkqwYTP+QQfzMPiYmHwV4SS1JUjc5R2NkYbYmE8NvFm3eE FTTi5nO6x1O/xD7eR/Uh9F5sLgH5Bimgo7dtW5/b4oFI532R672jpxc5kxXS9Quh8n5p QA1/wFoI8UU84SUNIHxqKB3qomeh0ATYMAu+v5bBnI1mDYHg7vm/YfFmMPIxRLU8NuaB qpCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=tIxqoHF9; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jj13-20020a170903048d00b001ac615350b6si2111293plb.516.2023.05.18.15.12.32; Thu, 18 May 2023 15:12:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=tIxqoHF9; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230440AbjERWDf (ORCPT + 99 others); Thu, 18 May 2023 18:03:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230273AbjERWDS (ORCPT ); Thu, 18 May 2023 18:03:18 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 763DCE57; Thu, 18 May 2023 15:03:17 -0700 (PDT) Date: Thu, 18 May 2023 22:03:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1684447394; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dcyvsg0Btvdn8+Kef5n19qjzFQcju1U15FF4mHUaMJg=; b=tIxqoHF9K7MQtw89Hqyyu4tCJ3Hw5p3HUzycuC+HWHx1gIucItsrCOL/Tpeg1/LdjM0V1X RmHtWSlDU1wX4kV7zBIgr1s4tW8kbuM/Bu8W6eWJA+cBAkEoh6CoAddzjpbuGKWLVrc5NW LcUFuHxjL8jJGdUeG5C62xK8K5BAVPmLFiSOvNQp1FLobRpnoQo1VG4z826t1211ekuwMX Bkc3WRyjAZ8EiftFGi9J/V2m1RcIh3KmGhFVLCZmePYPzvAbWgmmryBOnBnq3uUqQkt+St BlEZh4eTtTQML68G/on9u3eHZGuFou1e0VNXw+r0rPpcxfxfMyXL+15YQ05IpQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1684447394; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dcyvsg0Btvdn8+Kef5n19qjzFQcju1U15FF4mHUaMJg=; b=ofPFEKgtrteb1nWZ64leJ0FvsEjJaE0nMCTPWByEAuP4K51MvnYU1gRTzNNR/i8Jc2bfr/ Z44kQdh1CyiBXVAQ== From: "tip-bot2 for Arnd Bergmann" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/entry: Add do_SYSENTER_32() prototype Cc: Arnd Bergmann , Dave Hansen , Alexander Lobakin , x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <168444739377.404.12912509719388717312.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766271710936796217?= X-GMAIL-MSGID: =?utf-8?q?1766271710936796217?= The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: f34f0d3c10eb4d3160fc6fe7a2482cb78d3b0c12 Gitweb: https://git.kernel.org/tip/f34f0d3c10eb4d3160fc6fe7a2482cb78d3b0c12 Author: Arnd Bergmann AuthorDate: Tue, 16 May 2023 21:35:40 +02:00 Committer: Dave Hansen CommitterDate: Thu, 18 May 2023 11:56:18 -07:00 x86/entry: Add do_SYSENTER_32() prototype The 32-bit system call entry points can be called on both 32-bit and 64-bit kernels, but on the former the declarations are hidden: arch/x86/entry/common.c:238:24: error: no previous prototype for 'do_SYSENTER_32' [-Werror=missing-prototypes] Move them all out of the #ifdef block to avoid the warnings. Signed-off-by: Arnd Bergmann Signed-off-by: Dave Hansen Reviewed-by: Alexander Lobakin Link: https://lore.kernel.org/all/20230516193549.544673-12-arnd%40kernel.org --- arch/x86/include/asm/syscall.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/syscall.h b/arch/x86/include/asm/syscall.h index 5b85987..4fb36fb 100644 --- a/arch/x86/include/asm/syscall.h +++ b/arch/x86/include/asm/syscall.h @@ -127,9 +127,11 @@ static inline int syscall_get_arch(struct task_struct *task) } void do_syscall_64(struct pt_regs *regs, int nr); -void do_int80_syscall_32(struct pt_regs *regs); -long do_fast_syscall_32(struct pt_regs *regs); #endif /* CONFIG_X86_32 */ +void do_int80_syscall_32(struct pt_regs *regs); +long do_fast_syscall_32(struct pt_regs *regs); +long do_SYSENTER_32(struct pt_regs *regs); + #endif /* _ASM_X86_SYSCALL_H */