mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
Use u64 instead of uint64_t to make the KVM selftests code more concise and more similar to the kernel (since selftests are primarily developed by kernel developers). This commit was generated with the following command: git ls-files tools/testing/selftests/kvm | xargs sed -i 's/uint64_t/u64/g' Then by manually adjusting whitespace to make checkpatch.pl happy. Include <linux/types.h> in include/kvm_util_types.h, iinclude/test_util.h, and include/x86/pmu.h to pick up the tools-defined u64. Arguably, all headers (especially kvm_util_types.h) should have already been including stdint.h to get uint64_t from the libc headers, but the missing dependency only rears its head once KVM uses u64 instead of uint64_t. No functional change intended. Signed-off-by: David Matlack <dmatlack@google.com> [sean: rename pread_uint64() => pread_u64, expand on types.h include] Link: https://patch.msgid.link/20260420212004.3938325-5-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
15 lines
308 B
C
15 lines
308 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright IBM Corp. 2024
|
|
*
|
|
* Authors:
|
|
* Hariharan Mari <hari55@linux.ibm.com>
|
|
*
|
|
* Contains the definition for the global variables to have the test facitlity feature.
|
|
*/
|
|
|
|
#include "facility.h"
|
|
|
|
u64 stfl_doublewords[NB_STFL_DOUBLEWORDS];
|
|
bool stfle_flag;
|