Skip to content

Commit 13ad484

Browse files
aeglbp3tk0v
authored andcommitted
x86/cpu/vfm: Delete X86_MATCH_INTEL_FAM6_MODEL[_STEPPING]() macros
These macros have been replaced by X86_MATCH_VFM[_STEPPING]() Signed-off-by: Tony Luck <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 171a7d9 commit 13ad484

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

arch/x86/include/asm/cpu_device_id.h

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -192,26 +192,6 @@
192192
#define X86_MATCH_VENDOR_FAM(vendor, family, data) \
193193
X86_MATCH_VENDOR_FAM_MODEL(vendor, family, X86_MODEL_ANY, data)
194194

195-
/**
196-
* X86_MATCH_INTEL_FAM6_MODEL - Match vendor INTEL, family 6 and model
197-
* @model: The model name without the INTEL_FAM6_ prefix or ANY
198-
* The model name is expanded to INTEL_FAM6_@model internally
199-
* @data: Driver specific data or NULL. The internal storage
200-
* format is unsigned long. The supplied value, pointer
201-
* etc. is casted to unsigned long internally.
202-
*
203-
* The vendor is set to INTEL, the family to 6 and all other missing
204-
* arguments of X86_MATCH_VENDOR_FAM_MODEL_FEATURE() are set to wildcards.
205-
*
206-
* See X86_MATCH_VENDOR_FAM_MODEL_FEATURE() for further information.
207-
*/
208-
#define X86_MATCH_INTEL_FAM6_MODEL(model, data) \
209-
X86_MATCH_VENDOR_FAM_MODEL(INTEL, 6, INTEL_FAM6_##model, data)
210-
211-
#define X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS(model, steppings, data) \
212-
X86_MATCH_VENDOR_FAM_MODEL_STEPPINGS_FEATURE(INTEL, 6, INTEL_FAM6_##model, \
213-
steppings, X86_FEATURE_ANY, data)
214-
215195
/**
216196
* X86_MATCH_VFM - Match encoded vendor/family/model
217197
* @vfm: Encoded 8-bits each for vendor, family, model

0 commit comments

Comments
 (0)