Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86/pmstat: deal with Misra 8.4 violations
While the override #define-s in x86_64/platform_hypercall.c are good for the consuming side of the compat variants of set_{cx,px}_pminfo(), the producers lack the respective declarations. Include pmstat.h early, before the overrides are put in place, while adding explicit declarations of the compat functions (alongside structure forward declarations). Reported-by: Andrew Cooper <[email protected]> Signed-off-by: Jan Beulich <[email protected]> Acked-by: Andrew Cooper <[email protected]> Tested-by: Andrew Cooper <[email protected]>
- Loading branch information