Re: [PATCH] Move struct cpu_feature to a <linux/device-id/cpu_feature.h>
From: Nicolas Schier
Date: Wed Nov 25 2026 - 05:03:08 EST
On Fri, 20 Nov 2026 21:27:11 +0100, Nicolas Schier wrote:
> struct cpu_feature used to be defined in <linux/mod_devicetable.h>. Move
> it to <linux/device-id/cpu_feature.h> to let users of mod_devicetable.h
> that only need struct cpu_feature switch to the new include file, and
> to reduce the number of users of mod_devicetable.h.
>
> While moving struct cpu_feature to <linux/cpufeature.h> instead sounds
> reasonable, it would break defconfig on loongarch and mips [1].
>
> [...]
Applied to kbuild/linux.git (kbuild-next-unstable), thanks!
[1/1] Move struct cpu_feature to a <linux/device-id/cpu_feature.h>
https://git.kernel.org/kbuild/c/a48b8e3e
Please look out for regression or issue reports or other follow up
comments, as they may result in the patch/series getting dropped,
reverted or modified (e.g. trailers).
Patches applied to the kbuild-next-unstable branch are accepted pending
wider testing in linux-next and any post-commit review; they will
generally be moved to the kbuild-next branch in about a week if no
issues are found.
Best regards,
--
Nicolas