Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2091674lqz; Tue, 2 Apr 2024 07:07:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX7SoURWyx/6fmsU1mYWeCIlox8y5yn5nhBx5ADqRLUSEL89bgxjNNMSBG9u4DH1KGnM6GpjlZMHWCSyJgkDQkGHejx099yi2YQrT8D0w== X-Google-Smtp-Source: AGHT+IHcOJTFoFN6Pv/bPN+HBl5LqlHxbeWWZXhB8d+LlkyUXWqOgi7ODsKwaUicjL+1IIW4G7PA X-Received: by 2002:a17:902:784c:b0:1e0:a3b9:2e7a with SMTP id e12-20020a170902784c00b001e0a3b92e7amr16756565pln.6.1712066820906; Tue, 02 Apr 2024 07:07:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712066820; cv=pass; d=google.com; s=arc-20160816; b=NRBKdPx+z4Voy+5SylcAq2dkbzopAszJUSVj7D13y5FXy/totHhoBvaYWgmNAT8g0x zvC+zpDBsmEItvVl0jBEJJ45Yx8qYSuTNyIR2mwQ4GsSPfCeDKl1pJyE3+BlA4WZw02u /cncwe2HeybJ2yfW+gtJoyE5Y8bLq0NdWj0M8WBP+XnNWaryObKSti0/Sgiq9hqrogM7 V1fFxM+BYAv0gZ7GKL1zuXBXMMsT8ZRj6T6WbIMg5vKcdSB3N83ySWJm611HdBgChpJZ fJOzY/S6xIXETmvH+/+koRo9rMOu3Nuha1q7Bn454CElnGGbughuq8gAVYYqrr2nxPbA e5DQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=HqthSyu1ONMJcVYmPNQezj+3N69fQK1nHLGRpF+ZG+M=; fh=ZZ9T1Vu4AECHu2zNlet7bmBBDz25jaU2OPevYH6L9SE=; b=R3VhyWinAmr6hm5GqXuBVteD4Ic+yxHhJJuGRVILSEGnD40TicSniM+FcebKgqQosq bTSH/L6YT+45RMlXxvwt/t2JoHqMBDmLNgigkjcinjappVaAHdDGvc71KwJ3WKPQH3eQ 4KzkmTWV4aCDNTB/CC8ClBFTwOOf2BFlMelOSDKBHixVCP12uFO7zvoh0a0Aam9XgigO egVuVSi9O772H3wLfowItEtVNbLEp/eXmA8tZ5aPG8nzU/yACHvg4CQj47HRvVfjoN14 Stam66P/v6n6lSzk7NgKAkNXjQOxrnfsHCsUtaljA9n2AmHGJCuZJPk3DqTXQgoQ82Ix ErDg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="qUkzgNg/"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=n8qM02Mf; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-128050-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128050-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b18-20020a170902e95200b001e230798dc8si9339181pll.18.2024.04.02.07.07.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 07:07:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128050-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="qUkzgNg/"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=n8qM02Mf; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-128050-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128050-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id D41F0B2B31B for ; Tue, 2 Apr 2024 13:29:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D62BA85624; Tue, 2 Apr 2024 13:28:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="qUkzgNg/"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="n8qM02Mf" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AAFFB84039; Tue, 2 Apr 2024 13:28:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712064516; cv=none; b=SdvB8YBB2WRjWnp6VTYHLb4QS6vGgJ9FIsRyLb6TFVIImc0AEGgJkQUDSqSI09atyfoeFnYV3tWAtqLWSD/3yyf6i4fC/aY2ukJxNUvAiEnQrKJjOH9bKYGr+a44oVZojCbXcgMVZpBzdQWx/LNBKWY7m/lqqoGnPBRXq2np2pQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712064516; c=relaxed/simple; bh=RXbAtwMy42ElQNB3HQ3sNrOz2iVr2dp/A3YxBpbmuag=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=ZQVDbxgAQpIdwzdpfYC08QLvIp/ovNHwnzIHxqrm0sx8Zk/PzYEZbqb22jGHdvE4NX38hklaDfSRdBr1MSI97KiIdUVH+vNYErtUVtMbcGMzCn/S7CsDSWs/sURYLZWjydX50IdVGaj83ST6KSvn2EixQHqDv7LFfCEUHVCG8A0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=qUkzgNg/; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=n8qM02Mf; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Tue, 02 Apr 2024 13:28:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1712064510; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HqthSyu1ONMJcVYmPNQezj+3N69fQK1nHLGRpF+ZG+M=; b=qUkzgNg/utr0FzZd074xnns7LMkjKMmLXJ8+1UGEnNqtc37I0WFJC4otAVkk39NB0g5YfB hrkPTzRID+UVpF8aua3Z7mArdXARnFgp9c1aVoJZ8v4p5/B6HcF9aw81iLyUC/DD/OzNhD 77cOddhNlopnXoz3EoGwJo5LranHp1aL5F/0FrhFmWRXjjUUTVSoJChzLBETJq2P9d3Hyt GYMo++yp4Eb4TQfWlr39TGvxCGnIuOeCUz56KbhQFHr+f5C/6glalelpQrCvtU7FYH5HFS m6uIhO1nT2fSeKAH5hlbO8F+0uBmLi06KIrR8cyRmXcgcEd98f2jGzLXb02UFg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1712064510; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HqthSyu1ONMJcVYmPNQezj+3N69fQK1nHLGRpF+ZG+M=; b=n8qM02Mf3WURARyMw8J/vEjdDkx0iC95LKTjbz+EswPyX4S+JVzNI9+FAfHKb5A92s7cNT ZwLhFlbwKfhuSQDQ== From: "tip-bot2 for YueHaibing" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/32: Remove unused IA32_STACK_TOP and two externs Cc: YueHaibing , "Borislav Petkov (AMD)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230625125411.25840-1-yuehaibing@huawei.com> References: <20230625125411.25840-1-yuehaibing@huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171206450950.10875.3799270619287955319.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 52b2c101b9ce3b954ebbed4c24396ec28f66fcd9 Gitweb: https://git.kernel.org/tip/52b2c101b9ce3b954ebbed4c24396ec28f66fcd9 Author: YueHaibing AuthorDate: Sun, 25 Jun 2023 20:54:11 +08:00 Committer: Borislav Petkov (AMD) CommitterDate: Tue, 02 Apr 2024 15:01:40 +02:00 x86/32: Remove unused IA32_STACK_TOP and two externs Since 32974ad4907c ("[IA64] Remove COMPAT_IA32 support") IA32_STACK_TOP and ia32_setup_arg_pages() are not used anymore. And 675a0813609f ("x86: unify mmap_{32|64}.c") left behind ia32_pick_mmap_layout() extern declaration. Remove them all. [ bp: Massage commit message. ] Signed-off-by: YueHaibing Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/r/20230625125411.25840-1-yuehaibing@huawei.com --- arch/x86/include/asm/ia32.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/arch/x86/include/asm/ia32.h b/arch/x86/include/asm/ia32.h index 4212c00..9d69f3f 100644 --- a/arch/x86/include/asm/ia32.h +++ b/arch/x86/include/asm/ia32.h @@ -56,17 +56,6 @@ struct stat64 { unsigned long long st_ino; } __attribute__((packed)); -#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 - extern bool __ia32_enabled; static __always_inline bool ia32_enabled(void)