Received: by 2002:ac8:3b51:0:b0:3f3:9eb6:4eb6 with SMTP id r17csp2762067qtf; Mon, 12 Jun 2023 09:36:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4IkeEiE4+JBVwAElJ0pmJs5trcgNlgXWwB5K4D4ds72OfsIuERmECrRxjLQcuwOvV+ELh2 X-Received: by 2002:a17:903:2350:b0:1a1:b3bb:cd5b with SMTP id c16-20020a170903235000b001a1b3bbcd5bmr8448086plh.62.1686587782143; Mon, 12 Jun 2023 09:36:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686587782; cv=none; d=google.com; s=arc-20160816; b=YhRMfVWm1ZdU/m4fOlli3W69uvyArlZ8kiuetHlO47DmiRru40TWE4qD193DNAA0Dz rklKrlGV0N6Hs/dzqdIPIsFWaloz4AmL+4LVPEfN3JrDGubecS1PmQTE7Bkdowh9WVV4 r+YwNrgwkBfoqhgJATS1K0nvgLXQLlr9PoKOSuDlW8/HZ3iCuj/2S8xZcLCq9FUu/+Zb Wl9BxXsnUZTBvT5UjN4cm9S5XFFLIvsZx+3mFP7y6ZSS1Chf2yK8LcaRl9RIJpPpmLBN n8AYEEKn9Y/esXLUp6JkEUgXoP+jJqqOs5yRAMwsl/LdxOqVOVG1mzunvtk6PEorhgOD tVeA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=17atOqn7TUYDCnzDYeFz31heYTXfkLqafdxQqG9pN2E=; b=B1a796u+lW+hZgp8Prmt2vpt4g6FfhFjDMXmydDsYmpMNVm3tSAerF1HJcEYFREqeG rEF2+DyrEl3LCA03K5DoEgm4p+XIDRDIeONThV56TrPnDd1a2eabhYYdBw5Gp2RFrxfF Lkq2W7w0LL5UDWP13uPr5c7io6rMAVH5ObAv6gAFigKrb7G/u7hWYeDXaSj16mMfUrfC dcqAj3ZdVhmbFoDMALYTBYPC/4++4LFgPNspY6MY6prATswOogsRtjpbRWZFsvzgqOwS Kz+oipsvHslP6agEoxeAzw+qQDqzgbHwtRXSIo9E98LOmwUIB7w4+tzhL0Q4nDMXMDS9 d7Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b="G882Nc/C"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j193-20020a638bca000000b0053f9a37184bsi6852473pge.772.2023.06.12.09.35.58; Mon, 12 Jun 2023 09:36:22 -0700 (PDT) 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; dkim=pass header.i=@suse.com header.s=susede1 header.b="G882Nc/C"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238514AbjFLPo6 (ORCPT + 99 others); Mon, 12 Jun 2023 11:44:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239689AbjFLPor (ORCPT ); Mon, 12 Jun 2023 11:44:47 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22B0F19C for ; Mon, 12 Jun 2023 08:44:44 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id D6852201CA; Mon, 12 Jun 2023 15:44:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1686584682; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=17atOqn7TUYDCnzDYeFz31heYTXfkLqafdxQqG9pN2E=; b=G882Nc/ChI7nAOWeLzrbZFop4mWc7QzBHavOgV1/KK25GEc4l4rGKMCxxNTxNMgv/pUCuG i7xhsrRPrQLgikKtNpxpRSutExJroaTiJVRGRCHa9TFNYH5PQZ/vEzFSbCSgG29aIJKYF8 fxxrseq+UqE2zN0jqrRMFLZEBVNfd58= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 99B2C138EC; Mon, 12 Jun 2023 15:44:42 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id NVBuImo9h2ROQgAAMHmgww (envelope-from ); Mon, 12 Jun 2023 15:44:42 +0000 From: Nikolay Borisov To: x86@kernel.org Cc: linux-kernel@vger.kernel.org, Nikolay Borisov Subject: [PATCH] x86: Remove dead declarations in ia32.h Date: Mon, 12 Jun 2023 18:44:38 +0300 Message-Id: <20230612154438.638491-1-nik.borisov@suse.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 ia32_pick_mmap_layout got removed in 675a0813609f ("x86: unify mmap_{32|64}.c") and ia32_setup_arg_pages was removed as part of 32974ad4907c ("[IA64] Remove COMPAT_IA32 support"). Signed-off-by: Nikolay Borisov --- arch/x86/include/asm/ia32.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/x86/include/asm/ia32.h b/arch/x86/include/asm/ia32.h index fada857f0a1e..068f6227dfdb 100644 --- a/arch/x86/include/asm/ia32.h +++ b/arch/x86/include/asm/ia32.h @@ -59,15 +59,6 @@ struct stat64 { #define IA32_STACK_TOP IA32_PAGE_OFFSET -#ifdef __KERNEL__ -struct linux_binprm; -extern int ia32_setup_arg_pages(struct linux_binprm *bprm, - unsigned long stack_top, int exec_stack); -struct mm_struct; -extern void ia32_pick_mmap_layout(struct mm_struct *mm); - -#endif - #endif /* CONFIG_IA32_EMULATION */ #endif /* _ASM_X86_IA32_H */ -- 2.34.1