Re: [PATCH v3 02/44] ASoC: Intel: avs: Include CPUID header at file scope
Borislav Petkov <[email protected]>
| Newsgroups | dev.linux.lists.x86-cpuid,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20250704113201.GMaGe7sZritvfQT0uz@fat_crate.local> |
On Fri, Jun 13, 2025 at 01:39:28AM +0200, Ahmed S. Darwish wrote:
> +#ifdef CONFIG_X86
> +#include <asm/cpuid/api.h>
> +static unsigned int intel_crystal_freq_hz(void)
> +{
> + return cpuid_ecx(CPUID_LEAF_TSC);
I'm guessing this will get eventually converted to the parsed struct in the
end?
I guess I'll have to continue reading and see... :)
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette