Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp69726ybf; Thu, 27 Feb 2020 16:15:18 -0800 (PST) X-Google-Smtp-Source: APXvYqzlMSnPCNeww1iykopz0WhBkPQDY892BW6d0c9VCHv6C3/5eEvmFwogJvXyxU7xWP1MNtY8 X-Received: by 2002:a9d:6c01:: with SMTP id f1mr1149812otq.133.1582848917910; Thu, 27 Feb 2020 16:15:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582848917; cv=none; d=google.com; s=arc-20160816; b=iAEF8srekuEwBXGqfLs/BTLXA6chpztVJCwCgJBS23YhqoFfXtArhziBodbSORICQG OVHLfCY1GVRZB0AOWhKQOTRZ2sX7HoJ1Hi1yssccxNZyRXEjwnj+dakNC+03i+myr//5 0VJMfD97OOzYKt/BDZ9EZQSgzcUK6pyyfA2nRjVprL8aBlEEGMp/aDPFZt+DeYf9lN6a 6bK7+ey8GTOk6QypRjfYtahkjGqdwNvQrXAza9OhE6DbhxUmejfdgkCeuClwJPjy7OJC pladdwe/BhusY36bVUrr/fC8PdB5JoSSU62g0HWexbTLtDqr8Fz+8kNLOcMS/aeCAp/H wJDQ== 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=TihYfkWs0XO1eDRlcj4BF6Xb42Ai4cOZR9k44PLKb1FQ94sp+uiana1/1YClXzzfj/ /RMps18afgrdWGFDEFMCWEY+JdVItq6Nih9LkAxmj8b674AnaJHg8sWLRj/cHgf7Z+CN alcaHfmRkgKuVE/tIEZLWCPuy13Yz/aqZtJSuNo9bItIyIkZNMzqJWr5qlnhS9NpcZzs GhrI4Xnaf+yHqvm9ffQkhYKCr4L9L7kMUN6CIdyWRpUGDqKrQzMAP3/S+yeviNIMaKjq yoa0TBQLeJNfJFvrPriZhMTX88JLeBuSp7ntau4Iz5ztOSSbKL1oPAGTkv738oSt67L0 c4PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=pEytmV0l; 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 c10si683708ots.106.2020.02.27.16.15.05; Thu, 27 Feb 2020 16:15:17 -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=pEytmV0l; 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 S1730214AbgB1AOt (ORCPT + 99 others); Thu, 27 Feb 2020 19:14:49 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:65356 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728993AbgB1AOs (ORCPT ); Thu, 27 Feb 2020 19:14:48 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 48T95g0sjXz9tyJd; Fri, 28 Feb 2020 01:14:47 +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=pEytmV0l; 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 yUAevoeKb6Um; Fri, 28 Feb 2020 01:14:47 +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 48T95f6q5Rz9tyJb; Fri, 28 Feb 2020 01:14:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1582848886; bh=6vG0rup5AhQFG+005MTudCeahFqQe+VU9AdxRQQ/uh4=; h=In-Reply-To:References:From:Subject:To:Cc:Date:From; b=pEytmV0l5tFtlxKUU6yBOR7vK4r/OqHh//lioA9TRSu+ASLTjprjaRtfSOco8uX19 lhgPffzfiqISPQ2iQg1Vx1TipKmFmk5p1pqKZwTGXpTq55y8alMPJFUtj1eZzm3Qg9 mY7mRbTcXjcXEXAUSjKXdCb/0UuP2Vl3nLgI/cBQ= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 36FD78B885; Fri, 28 Feb 2020 01:14:47 +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 64P-Lov-10Wv; Fri, 28 Feb 2020 01:14:47 +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 E8F228B881; Fri, 28 Feb 2020 01:14:42 +0100 (CET) Received: by pc16570vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 9CAFE65411; Fri, 28 Feb 2020 00:14:40 +0000 (UTC) Message-Id: <6dac2b49207647f75cbf0e6771a545e691f0fd93.1582848567.git.christophe.leroy@c-s.fr> In-Reply-To: References: From: Christophe Leroy Subject: [PATCH v5 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: Fri, 28 Feb 2020 00:14:40 +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