From nobody Sun Feb 8 08:47:59 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DAA2C88CB4 for ; Mon, 12 Jun 2023 15:45:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234955AbjFLPo7 (ORCPT ); Mon, 12 Jun 2023 11:44:59 -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: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 { =20 #define IA32_STACK_TOP IA32_PAGE_OFFSET =20 -#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 */ =20 #endif /* _ASM_X86_IA32_H */ --=20 2.34.1