x86_energy_perf_policy: Document MSRHEADER

Add comment documenting MSRHEADER

Assisted-by: GitHub-Copilot:Claude-Sonnet-4.6
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
Len Brown 2026-05-06 10:00:00 -04:00
parent 2778dc35d4
commit 2d14634951

View File

@ -9,7 +9,12 @@
*/
#define _GNU_SOURCE
#include MSRHEADER
/*
* MSRHEADER macro should be defined by the build system to include the
* appropriate MSR definitions header file. Typical usage:
* gcc -DMSRHEADER=\"msr-index.h\" or similar platform-specific MSR header
*/
#include MSRHEADER /* e.g., msr-index.h with MSR_* constant definitions */
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>