From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A99113A2549 for ; Tue, 5 May 2026 05:59:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777960765; cv=none; b=XV7n9mjWzSmWdJ/kqZfnAQPQPM8WKkE8hRH4BJdu6K1Uq4gNEYOW5UI/k5LaOQkX987+nGZQDIciwUGFIndGtpPaZBGQC5qJrjP5xIebQLXuttQxqAY+RCLeGtHRxfth2wUW2zgtd/TglM+YGeKEA0sLHfaV79BHu8n3YpgZ20E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777960765; c=relaxed/simple; bh=X7Hii4Pvvatf3fOHQ50IuMX1l0/KGgE560+dqnTKkM8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=L3+fq+eA8cPW8tH5r3GYntoDnINQrzzRs206zhj3bQlqOD9hW9Js3IM2P4JUIwyHzdD55zNZ6pKhz3aW1Gc9kB23pGan8ApH+lvxQ1fdC6bN8ImUAFjBmVbVJiuazlRh4jk102MI5pYfnCHNMWRmGWVSE27bJ3+UB4oB5lDuU9o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EYpJTvTv; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EYpJTvTv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DAEBC2BCB4; Tue, 5 May 2026 05:59:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1777960765; bh=X7Hii4Pvvatf3fOHQ50IuMX1l0/KGgE560+dqnTKkM8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EYpJTvTvVyh6J0lfyP+tqRKm5Y1Qspz90RgGc/Xxuyi8Kxo6xi9VHB0HNMZkxyNxB 8aUxfqRS2X9jm3RbRob5Sp0J9v+uL6qAdYsCud2KsViCBSiBccylOQxqpxbYOP0xum RhRrlhqSkz4CefrydBItF7xLVEuTmoOXST35ZTAURKaZeTOldswKFSiQ41EAhDP/lg iDLkAXfmGCyTv1NpRmSlG30ewgwn6qR3dkqI6HYnab1sq3yUOGO4/ouHn4bCycScA2 N5LUlw6IV+z8FOafuN7s16kAmUzsP4wFNxLzbQecB2SH1s7wdoV9o8j1qhlTPXxHaw h9twofV4xWbsw== From: Sasha Levin To: stable@vger.kernel.org Cc: Christoph Hellwig , Sasha Levin Subject: [PATCH 6.12.y 1/3] dma-mapping: drop unneeded includes from dma-mapping.h Date: Tue, 5 May 2026 01:59:19 -0400 Message-ID: <20260505055921.224904-1-sashal@kernel.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <2026050156-defendant-fretful-734b@gregkh> References: <2026050156-defendant-fretful-734b@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Christoph Hellwig [ Upstream commit be164349e173a8e71cd76f17c7ed720813b8d69b ] Back in the day a lot of logic was implemented inline in dma-mapping.h and needed various includes. Move of this has long been moved out of line, so we can drop various includes to improve kernel rebuild times. Signed-off-by: Christoph Hellwig Stable-dep-of: 3023c050af36 ("hwmon: (powerz) Avoid cacheline sharing for DMA buffer") Signed-off-by: Sasha Levin --- arch/powerpc/platforms/pseries/svm.c | 1 + include/linux/dma-mapping.h | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/powerpc/platforms/pseries/svm.c b/arch/powerpc/platforms/pseries/svm.c index 3b4045d508ec8..384c9dc1899ab 100644 --- a/arch/powerpc/platforms/pseries/svm.c +++ b/arch/powerpc/platforms/pseries/svm.c @@ -8,6 +8,7 @@ #include #include +#include #include #include #include diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index ac7803e3fa613..7331be3cdb53d 100644 --- a/include/linux/dma-mapping.h +++ b/include/linux/dma-mapping.h @@ -2,15 +2,11 @@ #ifndef _LINUX_DMA_MAPPING_H #define _LINUX_DMA_MAPPING_H -#include -#include -#include #include #include #include #include #include -#include /** * List of possible attributes associated with a DMA mapping. The semantics -- 2.53.0