File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
tools/testing/selftests/kvm/aarch64 Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 42
42
#define TIMER_TEST_MIGRATION_FREQ_MS 2
43
43
44
44
struct test_args {
45
- int nr_vcpus ;
46
- int nr_iter ;
47
- int timer_period_ms ;
48
- int migration_freq_ms ;
45
+ uint32_t nr_vcpus ;
46
+ uint32_t nr_iter ;
47
+ uint32_t timer_period_ms ;
48
+ uint32_t migration_freq_ms ;
49
49
struct kvm_arm_counter_offset offset ;
50
50
};
51
51
@@ -57,7 +57,7 @@ static struct test_args test_args = {
57
57
.offset = { .reserved = 1 },
58
58
};
59
59
60
- #define msecs_to_usecs (msec ) ((msec) * 1000LL )
60
+ #define msecs_to_usecs (msec ) ((msec) * 1000ULL )
61
61
62
62
#define GICD_BASE_GPA 0x8000000ULL
63
63
#define GICR_BASE_GPA 0x80A0000ULL
@@ -72,7 +72,7 @@ enum guest_stage {
72
72
73
73
/* Shared variables between host and guest */
74
74
struct test_vcpu_shared_data {
75
- int nr_iter ;
75
+ uint32_t nr_iter ;
76
76
enum guest_stage guest_stage ;
77
77
uint64_t xcnt ;
78
78
};
You can’t perform that action at this time.
0 commit comments