The arch independent entry() routine isn't called directly by the kernel
driver, it's rather called by the arch_entry assembler stubs after
setting up the environment.

The current comment might be a bit misleading.

Signed-off-by: Ralf Ramsauer <[email protected]>
---
 hypervisor/setup.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hypervisor/setup.c b/hypervisor/setup.c
index 2da8bb15..9eaac20f 100644
--- a/hypervisor/setup.c
+++ b/hypervisor/setup.c
@@ -165,8 +165,8 @@ static void init_late(void)
 }
 
 /*
- * This is the entry point, called by the Linux driver on each CPU
- * when initializing Jailhouse.
+ * This is the architecture independent C entry point, which is called by
+ * arch_entry. This routine is called on each CPU when initializing Jailhouse.
  */
 int entry(unsigned int cpu_id, struct per_cpu *cpu_data)
 {
-- 
2.17.0

-- 
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.

Reply via email to