Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3613579ybd; Tue, 25 Jun 2019 05:45:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvmmmDs0Cq6G3FaFLnAx/96l8CLkV9u3WplJaPxSmfiEXbgx1JerPrbbYcwfVHye80EW2n X-Received: by 2002:a17:902:165:: with SMTP id 92mr128840594plb.197.1561466746156; Tue, 25 Jun 2019 05:45:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561466746; cv=none; d=google.com; s=arc-20160816; b=Gv2uw0bdJCcTY6K7eqk4mZq5qJEQnfKp0vgCkdWsHdtBmSlW8rp6K0nw8/q1x6mWFy zGD+26eW0HDPqNT+9GMiKFoGPjM7jroG9UsKP3XGwVkFArzclWxD2AfLk7mpGCYkndDA t47nUlU2goDVWM/AjxVEEUWSMFttK5Own8UBYPB6LDd84TXu+chmzuAyA2idx8P3zIWl NkkPEf5nsCI/9bXysLlpXPpuYtibZHwgrHZDcZWVLxg7Z9W/wVITmP4X+/VTIES/koKU n3m615bvPqDdLoQccLiEZaLZnsyJro11gFt8lIp+ndEgW678IrKsBX2u2QRlHQtE0KIV vTew== 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=550P1CoXgG6ywMpcxaUOSrNayar1hHXACatHa7PwUDQ=; b=xzHcrbHqhAWW0Kl2iuksSBlP71bPh8swCpVnL9zF7UMNObEhN4kBSl/cNtJj8+m1F/ Ln+dHSOD1yOCjawgrfv+I4N1csP9cYQOntyyjPOyXErsP+AVrSVrmC+6xJM68WdjZXCT Goshd5aPcuqze60hk60Ad+hWQ3sEufiKbBmbMH8hYGHUm7HyKCJUYbyyYGmnlYhqGAKV VL7rr/dHSJ4tBFKVFm1doNqKS/IrA2e+ImRz/GFR51iAt9MPGwqGFjco0y5HR5Jcrink EAB+4PXbrT8W4K0xwTyS32oltg+d5Cc1oW8E84qlqfL+4uqtvLL/eq+bJq/PHNYH8Dsi YdHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=kdCXnxKA; 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 j14si480340pfe.183.2019.06.25.05.45.30; Tue, 25 Jun 2019 05:45:46 -0700 (PDT) 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=kdCXnxKA; 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 S1732249AbfFYK6O (ORCPT + 99 others); Tue, 25 Jun 2019 06:58:14 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:63100 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732210AbfFYK6L (ORCPT ); Tue, 25 Jun 2019 06:58:11 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 45Y36S1hYCz9v17j; Tue, 25 Jun 2019 12:58:08 +0200 (CEST) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=kdCXnxKA; 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 GNAp56f9BcNv; Tue, 25 Jun 2019 12:58:08 +0200 (CEST) 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 45Y36S0G90z9v17d; Tue, 25 Jun 2019 12:58:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1561460288; bh=550P1CoXgG6ywMpcxaUOSrNayar1hHXACatHa7PwUDQ=; h=In-Reply-To:References:From:Subject:To:Cc:Date:From; b=kdCXnxKATeLqn+p0n6suz3hNb7xtTSKSYf+FTiyg8WNLF5AOwtbG0iCtAHstQdj2u hEtQnz2jH54Cp01VuF/641PBrrZ3aUwNT3zD6szYuWqoq9DZM/wjRVAOOXfcFZDYpr pI7IH1eCt9I188EdI74ATwueSqBBTzjXIzLfMFCI= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 40B738B879; Tue, 25 Jun 2019 12:58:09 +0200 (CEST) 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 CdDTF4WuAbyJ; Tue, 25 Jun 2019 12:58:09 +0200 (CEST) Received: from pc17473vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 0FFEC8B874; Tue, 25 Jun 2019 12:58:09 +0200 (CEST) Received: by pc17473vm.idsi0.si.c-s.fr (Postfix, from userid 0) id E011F68E1B; Tue, 25 Jun 2019 10:58:08 +0000 (UTC) Message-Id: <4bcbcdd159d0b2c0326d03f2d6f8fd7f514e0be3.1561459984.git.christophe.leroy@c-s.fr> In-Reply-To: References: From: Christophe Leroy Subject: [RFC PATCH v1 03/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: Tue, 25 Jun 2019 10:58:08 +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 0afb223c4d57..cc8efcb404d6 100644 --- a/arch/powerpc/kernel/ptrace/ptrace.c +++ b/arch/powerpc/kernel/ptrace/ptrace.c @@ -48,16 +48,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.13.3