File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -320,8 +320,11 @@ static int generate_fdt(vm_t *v)
320
320
/* Create /intr node: The interrupt controller */
321
321
__FDT (begin_node , "intr" );
322
322
uint64_t gic_reg [] = {
323
- cpu_to_fdt64 (ARM_GIC_DIST_BASE ), cpu_to_fdt64 (ARM_GIC_DIST_SIZE ),
324
- cpu_to_fdt64 (ARM_GIC_REDIST_CPUI_BASE ), cpu_to_fdt64 (ARM_GIC_REDIST_CPUI_SIZE )};
323
+ cpu_to_fdt64 (ARM_GIC_DIST_BASE ),
324
+ cpu_to_fdt64 (ARM_GIC_DIST_SIZE ),
325
+ cpu_to_fdt64 (ARM_GIC_REDIST_CPUI_BASE ),
326
+ cpu_to_fdt64 (ARM_GIC_REDIST_CPUI_SIZE ),
327
+ };
325
328
if (priv -> gic_type == IRQCHIP_TYPE_GIC_V3 )
326
329
__FDT (property_string , "compatible" , "arm,gic-v3" );
327
330
else
Original file line number Diff line number Diff line change @@ -68,11 +68,8 @@ static void vm_init_cpu_id(vm_t *v)
68
68
#define MSR_IA32_MISC_ENABLE_FAST_STRING \
69
69
(1ULL << MSR_IA32_MISC_ENABLE_FAST_STRING_BIT)
70
70
71
- #define KVM_MSR_ENTRY (_index , _data ) \
72
- (struct kvm_msr_entry) \
73
- { \
74
- .index = _index, .data = _data \
75
- }
71
+ #define KVM_MSR_ENTRY (_index , _data ) \
72
+ (struct kvm_msr_entry) { .index = _index, .data = _data }
76
73
static void vm_init_msrs (vm_t * v )
77
74
{
78
75
int ndx = 0 ;
You can’t perform that action at this time.
0 commit comments