mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
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:
parent
2778dc35d4
commit
2d14634951
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user