Commit 2b19b829 authored by Andrew Jones's avatar Andrew Jones Committed by Paolo Bonzini
Browse files

arm/arm64: gic: apply report_prefix_pushf


Signed-off-by: Andrew Jones's avatarAndrew Jones <drjones@redhat.com>
Message-Id: <20170522181821.29482-3-drjones@redhat.com>
Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 3a9d03a4
......@@ -305,15 +305,12 @@ static void run_active_clear_test(void)
int main(int argc, char **argv)
{
char pfx[8];
if (!gic_init()) {
printf("No supported gic present, skipping tests...\n");
return report_summary();
}
snprintf(pfx, sizeof(pfx), "gicv%d", gic_version());
report_prefix_push(pfx);
report_prefix_pushf("gicv%d", gic_version());
switch (gic_version()) {
case 2:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment