summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/tc-testing/tdc_batch.py
diff options
context:
space:
mode:
authorReinette Chatre <reinette.chatre@intel.com>2022-04-26 00:01:12 +0300
committerShuah Khan <skhan@linuxfoundation.org>2022-04-26 00:12:52 +0300
commit0dba8dae6b0489c7ea5722273f3b2d70fd9756c5 (patch)
treecbc4306c827156dc780336ec923d8544bbf86cd3 /tools/testing/selftests/tc-testing/tdc_batch.py
parenta23039c7306f53416ba35d230201398ea34f4640 (diff)
downloadlinux-0dba8dae6b0489c7ea5722273f3b2d70fd9756c5.tar.xz
selftests/vm/pkeys: 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 already included 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 compiled with gcc v3.2, the minimal required version for stable kernels. Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Sandipan Das <sandipan@linux.ibm.com> Cc: Florian Weimer <fweimer@redhat.com> Cc: "Desnes A. Nunes do Rosario" <desnesn@linux.vnet.ibm.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Thiago Jung Bauermann <bauerman@linux.ibm.com> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Michal Suchanek <msuchanek@suse.de> Cc: linux-mm@kvack.org Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/tc-testing/tdc_batch.py')
0 files changed, 0 insertions, 0 deletions