kvm: selftests: aarch64: fix some vgic related comments
[linux-2.6-microblaze.git] / tools / testing / selftests / kvm / aarch64 / vgic_irq.c
index 0106fc4..f023071 100644 (file)
@@ -306,7 +306,8 @@ static void guest_restore_active(struct test_args *args,
        uint32_t prio, intid, ap1r;
        int i;
 
-       /* Set the priorities of the first (KVM_NUM_PRIOS - 1) IRQs
+       /*
+        * Set the priorities of the first (KVM_NUM_PRIOS - 1) IRQs
         * in descending order, so intid+1 can preempt intid.
         */
        for (i = 0, prio = (num - 1) * 8; i < num; i++, prio -= 8) {
@@ -315,7 +316,8 @@ static void guest_restore_active(struct test_args *args,
                gic_set_priority(intid, prio);
        }
 
-       /* In a real migration, KVM would restore all GIC state before running
+       /*
+        * In a real migration, KVM would restore all GIC state before running
         * guest code.
         */
        for (i = 0; i < num; i++) {
@@ -503,7 +505,8 @@ static void guest_code(struct test_args *args)
                test_injection_failure(args, f);
        }
 
-       /* Restore the active state of IRQs. This would happen when live
+       /*
+        * Restore the active state of IRQs. This would happen when live
         * migrating IRQs in the middle of being handled.
         */
        for_each_supported_activate_fn(args, set_active_fns, f)
@@ -840,7 +843,8 @@ int main(int argc, char **argv)
                }
        }
 
-       /* If the user just specified nr_irqs and/or gic_version, then run all
+       /*
+        * If the user just specified nr_irqs and/or gic_version, then run all
         * combinations.
         */
        if (default_args) {