Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1028087ybf; Thu, 27 Feb 2020 03:50:32 -0800 (PST) X-Google-Smtp-Source: APXvYqxHuihoBSIBU937RsDbsWqZ++1XQ+3ZXodlg0pkXVs279wtMZcGiHjALN61Jt+gOtAVTjPw X-Received: by 2002:a9d:600e:: with SMTP id h14mr2824502otj.113.1582804232079; Thu, 27 Feb 2020 03:50:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582804232; cv=none; d=google.com; s=arc-20160816; b=zCVlKZ+3iSv5n7T+bUuVkdNyi+56ACDrpyOSdOayylpyiblNN3CCKvHs7fBzwg/fS4 vGjxD5DczAsirbuHnYKo9SOQc+UzyxF98GigaRmoqlt+V1rT2WwkVq/NsDHOGCh8rX/1 LfFxziI3aXp093jAl2Mmn59cYe31HT/UCCq03sD05HwBP7BW8LRNQBAv8m7eyohXOOnG Ek//7CGPN0S2XL7pv0KP2GKqfJDMLkkWADD6pGLXrG2Vzo2+a8EpllBRxN5Kax0WbtKP sMJOX1IJ+RNiU3Z3xIi1EUPPyhWst+JZTeZl/VWcBgo6JbxJfg7vvYyPiwwGXODC/hOF 5WEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:subject:from:references :in-reply-to:message-id:dkim-signature; bh=6vG0rup5AhQFG+005MTudCeahFqQe+VU9AdxRQQ/uh4=; b=tCExUZ1PA5oQepM1QkdtcCMLvHGt0az7+QpU+8rY5bl9CyfIR05Kn/95QovgUI/BXl U++ZmsMj3ufQa+D4+gdvmm5v5Twwxnoco0l7krsfUbTvwNOxZU0H1E7v8hnZpv9FIVCU ZqU7XamnnQT8pwqvK2IFoLe+Im8zwIbAXQADxyQZKWvdXFVqh4UqVVZSgibaSipMCF4l K1+DhH6goFa4rEVnZl2JgmJbJlPyvtwU6XhqICE+Sng59ZfdUly6RxRyfBGBJrPzRRPw /31Ty3+jWLLU/1Ij2alDvTHirhaBRTqQmBbvkJfJeam8BGryCp9vIlgcd7Lmrk5Ty1UX buaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=rUQqqnOO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v5si1081622oix.197.2020.02.27.03.50.20; Thu, 27 Feb 2020 03:50:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=rUQqqnOO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729118AbgB0Lti (ORCPT + 99 others); Thu, 27 Feb 2020 06:49:38 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:35093 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728967AbgB0LtC (ORCPT ); Thu, 27 Feb 2020 06:49:02 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 48SrY82fn2z9tyj5; Thu, 27 Feb 2020 12:49:00 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=rUQqqnOO; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id VTeIchdHEosm; Thu, 27 Feb 2020 12:49:00 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 48SrY81fKnz9tyhM; Thu, 27 Feb 2020 12:49:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1582804140; bh=6vG0rup5AhQFG+005MTudCeahFqQe+VU9AdxRQQ/uh4=; h=In-Reply-To:References:From:Subject:To:Cc:Date:From; b=rUQqqnOODkuNgtlhWxOw4kD5HEUkX24qKVfK5TXNcCAQcGZOHyTuBkVKhAHKGGplr /NIhjExNzkbefSmeBLnHF1sMFK3E9aXXz7K4Jkmx7tUzyum2NGaIt+JgUpSX1KP4rD 5uSm1b1vC7iFhl4mTxg3ryam7zSuH9g8IDgEFN0w= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 515DC8B872; Thu, 27 Feb 2020 12:49:01 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id JwCLrZOl2Yb4; Thu, 27 Feb 2020 12:49:01 +0100 (CET) Received: from pc16570vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id B81808B799; Thu, 27 Feb 2020 12:49:00 +0100 (CET) Received: by pc16570vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 85EA965402; Thu, 27 Feb 2020 11:49:00 +0000 (UTC) Message-Id: <6dac2b49207647f75cbf0e6771a545e691f0fd93.1582803998.git.christophe.leroy@c-s.fr> In-Reply-To: References: From: Christophe Leroy Subject: [PATCH v4 04/13] powerpc/ptrace: drop PARAMETER_SAVE_AREA_OFFSET To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , mikey@neuling.org Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Thu, 27 Feb 2020 11:49:00 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PARAMETER_SAVE_AREA_OFFSET is not used, drop it. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/ptrace/ptrace.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/powerpc/kernel/ptrace/ptrace.c b/arch/powerpc/kernel/ptrace/ptrace.c index 3dd94c296ac7..22826c942eae 100644 --- a/arch/powerpc/kernel/ptrace/ptrace.c +++ b/arch/powerpc/kernel/ptrace/ptrace.c @@ -33,16 +33,6 @@ #define CREATE_TRACE_POINTS #include -/* - * The parameter save area on the stack is used to store arguments being passed - * to callee function and is located at fixed offset from stack pointer. - */ -#ifdef CONFIG_PPC32 -#define PARAMETER_SAVE_AREA_OFFSET 24 /* bytes */ -#else /* CONFIG_PPC32 */ -#define PARAMETER_SAVE_AREA_OFFSET 48 /* bytes */ -#endif - struct pt_regs_offset { const char *name; int offset; -- 2.25.0