diff options
author | Reinette Chatre <[email protected]> | 2022-04-25 14:01:13 -0700 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2022-04-25 15:12:58 -0600 |
commit | 2ba8a7abb5ef402d94830bcf599f645852eb0153 (patch) | |
tree | 4522c84973770b0adaadea10d682b1aad8563f91 /net/lapb/lapb_timer.c | |
parent | 0dba8dae6b0489c7ea5722273f3b2d70fd9756c5 (diff) |
selftests/x86/amx: Use provided __cpuid_count() macro
kselftest.h makes the __cpuid_count() macro available
to conveniently call the CPUID instruction.
Remove the local CPUID wrapper and use __cpuid_count()
from kselftest.h instead.
__cpuid_count() from kselftest.h is used instead of the
macro provided by the compiler since gcc v4.4 (via cpuid.h)
because the selftest needs to be supported with gcc v3.2,
the minimal required version for stable kernels.
Cc: Chang S. Bae <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: [email protected]
Signed-off-by: Reinette Chatre <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions