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)
320320 /* Create /intr node: The interrupt controller */
321321 __FDT (begin_node , "intr" );
322322 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+ };
325328 if (priv -> gic_type == IRQCHIP_TYPE_GIC_V3 )
326329 __FDT (property_string , "compatible" , "arm,gic-v3" );
327330 else
Original file line number Diff line number Diff line change @@ -68,11 +68,8 @@ static void vm_init_cpu_id(vm_t *v)
6868#define MSR_IA32_MISC_ENABLE_FAST_STRING \
6969 (1ULL << MSR_IA32_MISC_ENABLE_FAST_STRING_BIT)
7070
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 }
7673static void vm_init_msrs (vm_t * v )
7774{
7875 int ndx = 0 ;
You can’t perform that action at this time.
0 commit comments