Allows to identify the reason if CONFIG_TRACE_ERROR is enabled.
Signed-off-by: Jan Kiszka <[email protected]>
---
hypervisor/setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hypervisor/setup.c b/hypervisor/setup.c
index a55e4b9..8cfa455 100644
--- a/hypervisor/setup.c
+++ b/hypervisor/setup.c
@@ -139,7 +139,7 @@ static void init_late(void)
for_each_cpu(cpu, root_cell.cpu_set)
expected_cpus++;
if (hypervisor_header.online_cpus != expected_cpus) {
- error = -EINVAL;
+ error = trace_error(-EINVAL);
return;
}
--
2.1.4
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.