Message ID | 20221029231850.3668437-6-viro@zeniv.linux.org.uk |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1549097wru; Sat, 29 Oct 2022 16:21:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ydZXUR98Z3MoXTKJqeXe5YvXnka7Y+xrNgctVMpkf+evo26c6qK3rjO67XAaVChql3dkr X-Received: by 2002:a17:907:3f13:b0:799:6aef:9837 with SMTP id hq19-20020a1709073f1300b007996aef9837mr5793776ejc.296.1667085708724; Sat, 29 Oct 2022 16:21:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667085708; cv=none; d=google.com; s=arc-20160816; b=I0/9JF5xHytVV66dMEGMQMEJPKc63ZXfSSkfK4YfsgS+NrO0Aq4nCHnJ7AgF/Ybvpd Phs4v55X4TS718EUWDeE8V0rvB1/yI4Me0Wsk/DPDX3t0sTmYgOCU1pUNPyBkgHJRogS jpdzgn4pB12PQkBF/cE3i9F1M3rtL0dSkXdACDbhNmdYKt28AhexTx87cFKR0IigsqTA xqAizh1Abo61IVUlPOYl2eX5e5++qflQFuP6tsYgCM88S1vLPMfJVbeECLyTjca1y2d4 /C3Ke/EEjc12i6ez0W3pv2YE69H0O+YscfX842WFGI8Ys5qBiHSDeSLPJSmmhsjPGvBZ MjTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XABRwD0Dyw5mFhzCOmG2KtL+WfkI3Jd1NdqWLQIk8Ko=; b=o5S2FmhIGWCa4btshkCzCzEirj8UQz/FXlUIZP7sQQnPxG26UJ1oDcVqlbeVO+GjDt BNlsHkdEh5uTNA6G4w2IG4ALjB+WM4ZuuSqduj29PzHNj7YTln5SW1za//dFOzH0m0L6 JpaLM9s+uFINaQhpyvV4KQB6rIaAzoiBxk/P68gQ3wXGurNbcEa0UjlqwuBYGJoMGYwP dmgmcmojuNmL9ZEgGFR/AlfmP8UTPRyn4N8yAG/r0uTp8lSXwYvZAhHU6Fm/VT5i2sxJ suno6xb3YjWyjiN6tsf7jDNkInBTpJI+mlSFls3fzNai9gjd1X92hipPlAbtvVBMEM4t dWag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=gCeN+XLa; 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=NONE dis=NONE) header.from=zeniv.linux.org.uk Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qw17-20020a170906fcb100b0078db3762061si2093162ejb.439.2022.10.29.16.21.24; Sat, 29 Oct 2022 16:21:48 -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=@linux.org.uk header.s=zeniv-20220401 header.b=gCeN+XLa; 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=NONE dis=NONE) header.from=zeniv.linux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229681AbiJ2XTC (ORCPT <rfc822;ezelljr.billy@gmail.com> + 99 others); Sat, 29 Oct 2022 19:19:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229761AbiJ2XSx (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 29 Oct 2022 19:18:53 -0400 Received: from zeniv.linux.org.uk (zeniv.linux.org.uk [IPv6:2a03:a000:7:0:5054:ff:fe1c:15ff]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52FC82F011; Sat, 29 Oct 2022 16:18:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description; bh=XABRwD0Dyw5mFhzCOmG2KtL+WfkI3Jd1NdqWLQIk8Ko=; b=gCeN+XLatIOia5i1hSzX2biUtQ U4pkgdXmEQN7z/32uyZ9hwU5EWGO6vdvU1eJR03k1kp1CIcFURJI+WFUa35vrTCeCucpE4UFKn4Jj s0ZWSa0bObs0950PZt/lc79l01FrCBw1Z3IxBlzD9dGi5viKVPGNQNATquzexFpTPW/cjw24MVd+H hjOYOslREJc5soNIAnLiFXMm9qLaIrRIY7kSvAM4relve0JL08SqK6uYGgZEfI3+xcrW0tW3QKgGo lVyKeHCIB1uFnIdmU2j1YMi2i6qD+dh5atOPslS2YBk3cyOYGTqcXOgEQEMeGD5LRBv+9VkBbirfw OT9MapqA==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.96 #2 (Red Hat Linux)) id 1oov6J-00FOKo-39; Sat, 29 Oct 2022 23:18:52 +0000 From: Al Viro <viro@zeniv.linux.org.uk> To: linux-arch@vger.kernel.org Cc: Linus Torvalds <torvalds@linux-foundation.org>, linux-kernel@vger.kernel.org Subject: [PATCH 06/10] elf_core_copy_task_regs(): task_pt_regs is defined everywhere Date: Sun, 30 Oct 2022 00:18:46 +0100 Message-Id: <20221029231850.3668437-6-viro@zeniv.linux.org.uk> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221029231850.3668437-1-viro@zeniv.linux.org.uk> References: <Y120X8dWqe15FPPG@ZenIV> <20221029231850.3668437-1-viro@zeniv.linux.org.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Al Viro <viro@ftp.linux.org.uk> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748066063922888018?= X-GMAIL-MSGID: =?utf-8?q?1748066063922888018?= |
Series |
[01/10] kill signal_pt_regs()
|
|
Commit Message
Al Viro
Oct. 29, 2022, 11:18 p.m. UTC
Had been since 2011 for all live architectures, ever since 2013
for all architectures, period.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
include/linux/elfcore.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/elfcore.h b/include/linux/elfcore.h index 346a8b56cdc8..fcf58e16d1e3 100644 --- a/include/linux/elfcore.h +++ b/include/linux/elfcore.h @@ -88,7 +88,7 @@ static inline int elf_core_copy_task_regs(struct task_struct *t, elf_gregset_t* { #if defined (ELF_CORE_COPY_TASK_REGS) return ELF_CORE_COPY_TASK_REGS(t, elfregs); -#elif defined (task_pt_regs) +#else elf_core_copy_regs(elfregs, task_pt_regs(t)); #endif return 0;