From nobody Fri Dec 19 18:45:35 2025 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 18A48201036; Tue, 4 Mar 2025 10:26:22 +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=1741083983; cv=none; b=h2PczS3P1xKbifTGyqaTB8SARFuPWUWl7pBXYdN8AOSfyayGEMun883QMbVYm+YbOqW+snfg9kjjYY+6DQLP0s0TLD8IcA+9Tuxic8nvV4OFyL7VhplJfz9FtFdI5fsLVNVIuWr+NLSlhFfd4Ar4hJPEfP0QNOniQJiZVDDTtd0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741083983; c=relaxed/simple; bh=8wiJ6CNkWvfsfezUPmZrdEVp7bJt7XnRWsP8mATapc0=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=Kywp6FfJv2ThjI0ij7kvJlUFooBVlQFlQtERMDu3n8++qTs+yhv/cVzN1upGTHK+yMU0dZmUCR1ceDnP4mJ2QK4ZqcgjkFi6Td2rRcni2LGBumoqvHtJWzuv1IopduXJzovHPSOupQLBMDfl0JyXPy6cH48s6tAKX45lCRSdv24= 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=qDYlncXI; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ZxVTQVCG; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="qDYlncXI"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ZxVTQVCG" Date: Tue, 04 Mar 2025 10:26:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1741083980; 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=Nvm8HZuDtBkPz1Uou5ov4b6M64loqI04v+ld9z8e6qc=; b=qDYlncXIq2Fg9Hv7MdQD4HdR5MO+ohdgMpvYugYktJ1sADIpYT6g48h0Rl7maiCSQNDRpy d0AStg77oRbsFetGvWjQJYjfWNqzZZAEjoTOTHPGPIqMuNI9njN0kLMkHINWn+dltHuXMf XxVE8eDFQbAxFukmO+lvBwzICm3lt8vZwk1GfVZuIZ0k6L/dGfdHxhCuF+11vDGyacFlH2 lvUmGFZ27J71rstCh9HvColFkU/xWpZWmUMqI7tDsXtNhBeMvUFF79OPImlIoO1ReZddY7 0379jKqOrj8BBn2h1+ofOcw3ugYVJlI1DeJBJyOyjOTZqBJMIHdptJ3ziqO61A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1741083980; 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=Nvm8HZuDtBkPz1Uou5ov4b6M64loqI04v+ld9z8e6qc=; b=ZxVTQVCGdTtHmv8l74x7uo5mN9rmD3XT9BWJGm11JJ9xUp1k/pIw0UeQe7IfX/Y7PRgORU /5Dje+6UesJkrjBQ== From: "tip-bot2 for Ahmed S. Darwish" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cpu] x86/cpu: Remove unnecessary headers and reorder the rest Cc: Thomas Gleixner , "Ahmed S. Darwish" , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20250304085152.51092-6-darwi@linutronix.de> References: <20250304085152.51092-6-darwi@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <174108398021.14745.15801075088288394260.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: quoted-printable The following commit has been merged into the x86/cpu branch of tip: Commit-ID: dec7fdc0b79c2ae0a537343b17f5ba1c6c47e1ca Gitweb: https://git.kernel.org/tip/dec7fdc0b79c2ae0a537343b17f5ba1c6= c47e1ca Author: Ahmed S. Darwish AuthorDate: Tue, 04 Mar 2025 09:51:16 +01:00 Committer: Ingo Molnar CommitterDate: Tue, 04 Mar 2025 11:17:33 +01:00 x86/cpu: Remove unnecessary headers and reorder the rest Remove the headers at intel.c that are no longer required. Alphabetically reorder what remains since more headers will be included in further commits. Suggested-by: Thomas Gleixner Signed-off-by: Ahmed S. Darwish Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20250304085152.51092-6-darwi@linutronix.de --- arch/x86/kernel/cpu/intel.c | 36 +++++++++++++----------------------- 1 file changed, 13 insertions(+), 23 deletions(-) diff --git a/arch/x86/kernel/cpu/intel.c b/arch/x86/kernel/cpu/intel.c index c5d833f..60b58b1 100644 --- a/arch/x86/kernel/cpu/intel.c +++ b/arch/x86/kernel/cpu/intel.c @@ -1,40 +1,30 @@ // SPDX-License-Identifier: GPL-2.0 -#include -#include =20 -#include #include -#include -#include -#include -#include #include -#include +#include +#include +#include + +#ifdef CONFIG_X86_64 +#include +#endif =20 -#include -#include #include +#include +#include #include +#include #include #include -#include -#include -#include -#include +#include #include +#include #include - -#ifdef CONFIG_X86_64 -#include -#endif +#include =20 #include "cpu.h" =20 -#ifdef CONFIG_X86_LOCAL_APIC -#include -#include -#endif - /* * Processors which have self-snooping capability can handle conflicting * memory type across CPUs by snooping its own cache. However, there exists