Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp33891pxb; Tue, 15 Feb 2022 07:59:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJybp6Ey0lvuyeiN9/nR5/I2Zxtpjoz5AEop1v5AVjnHtsgo403mcQfkEfHwWKioacBTmhem X-Received: by 2002:a17:90b:3b52:b0:1b9:cb97:6f0 with SMTP id ot18-20020a17090b3b5200b001b9cb9706f0mr4940260pjb.191.1644940775689; Tue, 15 Feb 2022 07:59:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644940775; cv=none; d=google.com; s=arc-20160816; b=z1vdLlHg4IlxAZpGcZxQMVry+hWbDfVsGFqZGglfntFsd7Ttt6iXKo4UaPtXv+Bz32 3MPf6VUIzFcjoyUaongHQqBugSItKjEwjvTypxQckOEZlI1r5EsuJABdcqIweSvvP9Z/ jws2X82MhiWe+D3NLX+RBQjcRiMhY1Xhik0axxZ+/c9pw0hSaQyA6Irmf2Ff/CRXwnBX hLzUDMaeDhh8/ywIW1tz2xShf9B/u9G1rTjfDvoLZ+lYIOort0PJSviCyg/E8BDNH6uO O6lhJGldXVd7Ho8CPm7PzSa+NgUmcR/uNnXYSn8rKAxtIzc0gdS/wbja+4co+oGvnqsd jJgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=2VpJ1dLO3VEAHzWo1YTMlq+5QOEziEYFtBKyoRnNHn8=; b=JWhiYMCk9jrCZl3wSVmWcdnmcuTgxxSVHJ5JbAKPUeSZbi5y7/8NanCTdDhwHUU2F9 iBy/cX6oRtF3Et57/WSEEc8uy34rccQChvS1/175uaJqM4BWCRpSbHGLiUWbMm1HDLqF mQGHITYrpkvDLaD0ZNx0CKueYp/gQT10HewOgLZhbn5UYxR1r0vXN5+iUxhnCnxXNMTM 9pLLwq+cjvUtfD0zFi9IFyV3wrpS6EgAD2vSKWRfkRC2IZOqQENu1qm2/8MZKNLV+Oxn VcEMnf0iD9j5mK7pkWqImZpgeJtMQvk3SL0Bpom+Zb86rkcF3riy9u6QUCYcAt2Wm7Um NPng== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s72si6208074pfc.379.2022.02.15.07.59.05; Tue, 15 Feb 2022 07:59:35 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237881AbiBOMoc (ORCPT + 99 others); Tue, 15 Feb 2022 07:44:32 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:51656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237950AbiBOMng (ORCPT ); Tue, 15 Feb 2022 07:43:36 -0500 Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1CD41B78E; Tue, 15 Feb 2022 04:42:42 -0800 (PST) Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4Jygh21l7Tz9sSs; Tue, 15 Feb 2022 13:41:38 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Qv4VFlf7NJM; Tue, 15 Feb 2022 13:41:38 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4Jyggp0jq5z9sSy; Tue, 15 Feb 2022 13:41:26 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 078F38B763; Tue, 15 Feb 2022 13:41:26 +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 M6LRDoRwmE5a; Tue, 15 Feb 2022 13:41:25 +0100 (CET) Received: from PO20335.IDSI0.si.c-s.fr (unknown [192.168.6.174]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 8CA808B781; Tue, 15 Feb 2022 13:41:24 +0100 (CET) Received: from PO20335.IDSI0.si.c-s.fr (localhost [127.0.0.1]) by PO20335.IDSI0.si.c-s.fr (8.17.1/8.16.1) with ESMTPS id 21FCfGmr080621 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 15 Feb 2022 13:41:16 +0100 Received: (from chleroy@localhost) by PO20335.IDSI0.si.c-s.fr (8.17.1/8.17.1/Submit) id 21FCfGGk080620; Tue, 15 Feb 2022 13:41:16 +0100 X-Authentication-Warning: PO20335.IDSI0.si.c-s.fr: chleroy set sender to christophe.leroy@csgroup.eu using -f From: Christophe Leroy To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Andrew Morton , "James E.J. Bottomley" , Helge Deller , Arnd Bergmann , Kees Cook , Greg Kroah-Hartman Cc: Christophe Leroy , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-ia64@vger.kernel.org, linux-parisc@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, Nicholas Piggin Subject: [PATCH v4 04/13] powerpc: Remove 'struct ppc64_opd_entry' Date: Tue, 15 Feb 2022 13:40:59 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1644928860; l=1246; s=20211009; h=from:subject:message-id; bh=vx1idMeJkdOhlRkZvWHnC+mhHBjG4OZh535Q2FsolEA=; b=ovQ3V9ipcvhVy/DxCLHKvoDrDk5CubOQNQ3IRTv/C3FQ045y316Cko7N35eO9NVSdZ23kd79Fu+O Y/1D2lCLBbQOgr9Ou65SD7xGVKnb1qT/w/h+LCoX02QbvQDHZNSv X-Developer-Key: i=christophe.leroy@csgroup.eu; a=ed25519; pk=HIzTzUj91asvincQGOFx6+ZF5AoUuP9GdOtQChs7Mm0= Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org 'struct ppc64_opd_entry' doesn't belong to uapi/asm/elf.h It was initially in module_64.c and commit 2d291e902791 ("Fix compile failure with non modular builds") moved it into asm/elf.h But it was by mistake added outside of __KERNEL__ section, therefore commit c3617f72036c ("UAPI: (Scripted) Disintegrate arch/powerpc/include/asm") moved it to uapi/asm/elf.h Now that it is not used anymore by the kernel, remove it. Reviewed-by: Kees Cook Reviewed-by: Nicholas Piggin Signed-off-by: Christophe Leroy --- arch/powerpc/include/uapi/asm/elf.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/powerpc/include/uapi/asm/elf.h b/arch/powerpc/include/uapi/asm/elf.h index 860c59291bfc..308857123a08 100644 --- a/arch/powerpc/include/uapi/asm/elf.h +++ b/arch/powerpc/include/uapi/asm/elf.h @@ -289,12 +289,4 @@ typedef elf_fpreg_t elf_vsrreghalf_t32[ELF_NVSRHALFREG]; /* Keep this the last entry. */ #define R_PPC64_NUM 253 -/* There's actually a third entry here, but it's unused */ -struct ppc64_opd_entry -{ - unsigned long funcaddr; - unsigned long r2; -}; - - #endif /* _UAPI_ASM_POWERPC_ELF_H */ -- 2.34.1