On Wed, Nov 11, 2026 at 04:44:37PM -0700, Pavel Popov wrote: > <asm/cpu_device_id.h> exists only on x86, so generic code that > matches on x86 CPU models has to wrap the include in #ifdef > CONFIG_X86. > > Add an empty generic version, so the header can be included > unconditionally. The CPU match tables themselves still need > CONFIG_X86 for the model defines. > > Suggested-by: Leon Romanovsky <[email protected]> > Link: > https://lore.kernel.org/r/[email protected] > Signed-off-by: Pavel Popov <[email protected]> > --- > include/asm-generic/Kbuild | 1 + > include/asm-generic/cpu_device_id.h | 5 +++++ > 2 files changed, 6 insertions(+) > create mode 100644 include/asm-generic/cpu_device_id.h >
Thanks, Reviewed-by: Leon Romanovsky <[email protected]>
