Skip to content

Commit a8a42d0

Browse files
kelleymhliuw
authored andcommitted
x86/hyperv: Remove HV_PROCESSOR_POWER_STATE #defines
The HV_PROCESSOR_POWER_STATE_C<n> #defines date back to year 2010, but they are not in the TLFS v6.0 document and are not used anywhere in Linux. Remove them. Signed-off-by: Michael Kelley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]>
1 parent 7357b1d commit a8a42d0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

arch/x86/include/asm/hyperv-tlfs.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -390,11 +390,6 @@ struct hv_tsc_emulation_status {
390390
#define HV_X64_MSR_TSC_REFERENCE_ENABLE 0x00000001
391391
#define HV_X64_MSR_TSC_REFERENCE_ADDRESS_SHIFT 12
392392

393-
#define HV_PROCESSOR_POWER_STATE_C0 0
394-
#define HV_PROCESSOR_POWER_STATE_C1 1
395-
#define HV_PROCESSOR_POWER_STATE_C2 2
396-
#define HV_PROCESSOR_POWER_STATE_C3 3
397-
398393
#define HV_FLUSH_ALL_PROCESSORS BIT(0)
399394
#define HV_FLUSH_ALL_VIRTUAL_ADDRESS_SPACES BIT(1)
400395
#define HV_FLUSH_NON_GLOBAL_MAPPINGS_ONLY BIT(2)

0 commit comments

Comments
 (0)