Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4833958ybv; Wed, 26 Feb 2020 03:55:54 -0800 (PST) X-Google-Smtp-Source: APXvYqx61d0lwTd2h2TygIGa4Ugo4gSlB/av4F3Z3OnDYbhKchh+5eVgCu+CImYuCDm2S+Sy+zYh X-Received: by 2002:a9d:4706:: with SMTP id a6mr2476152otf.331.1582718154799; Wed, 26 Feb 2020 03:55:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582718154; cv=none; d=google.com; s=arc-20160816; b=qI38EGZElzNTJVfSmajEKc6OocyJAmfdPDARWTs8A9TjjnCP8wYOtSH/EgmnCy3l8I Ix61NToi+q5GgZXZeR+eEBHb2WwKDXwLf+ChjlKLiymZHsGt3GUV/FYHS/iqvJb5Tl7o 8HJjd5N/v3QXopig9xSGRTIv0sEz3KuuNo5I6ioLf1U1eC6U8X0AGiDfG1e8gLKABTnx aiQpV0R/e4YtL/YCT3X0G3dABDHO0wT2/PMUfX1vtsWXm3jqvZ5LzDvths01eYQEtgaY pA2SegrYrcsLWXVGv7uMzT5fj3W0WoHtA2rqz2CvoLANWMqViqldwzNmF5RjHALffIH+ Rx2Q== 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=s7zz/PGtYWtBW2vMPvYSKfERJlZlCqPn4a2o5+826+W8QaZ5au7NzM/52ekSXT5CAn KX4UimOpNCMm6/5AeJCg5x1l8zRUnQfomTTwNW1GP8oLQvg2gK4E6e1r6AIA2TSkDCs4 RZbZjYfUSfQBso83C8uMfigoXqatQf8RXzq3+OR++y7Hz/seOacMD8bIGhaW7zlxY3ga Fvzf4NBfb4qksaFbhcLtAKmZCZIY+2uv90shpPYdoG7odvT7Agfk6JCFHtGdLO5fiZDI C/IwOGFV/BYcv02AS9fammBcfZOT3+wZ98Cn5ZxAUHUpGJgPLN2jJKGmqIo/KpHTmLBL FE6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=V8q2DGGw; 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 n20si965726oig.53.2020.02.26.03.55.42; Wed, 26 Feb 2020 03:55:54 -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=V8q2DGGw; 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 S1726971AbgBZLyB (ORCPT + 99 others); Wed, 26 Feb 2020 06:54:01 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:7417 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726250AbgBZLx4 (ORCPT ); Wed, 26 Feb 2020 06:53:56 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 48SDjF6jSgz9txVC; Wed, 26 Feb 2020 12:53:53 +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=V8q2DGGw; 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 t871unOA5B4O; Wed, 26 Feb 2020 12:53:53 +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 48SDjF5h0Yz9txV6; Wed, 26 Feb 2020 12:53:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1582718033; bh=6vG0rup5AhQFG+005MTudCeahFqQe+VU9AdxRQQ/uh4=; h=In-Reply-To:References:From:Subject:To:Cc:Date:From; b=V8q2DGGwUSQ5X+2OVS145trChFfjKtYwlhvLn3p/ZPgxVgBTibx5ctohaZZ+BWOQ+ fRmTEHCGzaUjleTAWvQk6YSqfOUMikWtDnBHqrOycnDPkaf9kdh5cEk4UA5myVTTOo z8HBVhwkQubPNcv7fRqvjQnAegT2U+tjMWSwJaxY= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 0DAB08B847; Wed, 26 Feb 2020 12:53:55 +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 4x-3og4IaD_W; Wed, 26 Feb 2020 12:53:54 +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 B27198B776; Wed, 26 Feb 2020 12:53:54 +0100 (CET) Received: by pc16570vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 8ABDA65400; Wed, 26 Feb 2020 11:53:54 +0000 (UTC) Message-Id: <6dac2b49207647f75cbf0e6771a545e691f0fd93.1582717645.git.christophe.leroy@c-s.fr> In-Reply-To: References: From: Christophe Leroy Subject: [PATCH v3 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: Wed, 26 Feb 2020 11:53:54 +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