Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c242f186 authored by Venkata Rao Kakani's avatar Venkata Rao Kakani Committed by Gerrit - the friendly Code Review server
Browse files

init: early_services: get status after launching early services



Get early services mount status only after launching it.

Change-Id: If3e4784ce4824f9c592c0900aa1cbf51b9093ab4
Signed-off-by: default avatarVenkata Rao Kakani <vkakani@codeaurora.org>
parent d195d549
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1022,7 +1022,7 @@ static int __ref kernel_init(void *unused)
{
	int ret;
#ifdef CONFIG_EARLY_SERVICES
	int status = get_early_services_status();
	int status = 0;
#endif
	kernel_init_freeable();
	/* need to finish all async __init code before freeing the memory */
@@ -1037,6 +1037,7 @@ static int __ref kernel_init(void *unused)
	place_marker("M - DRIVER Kernel Boot Done");

#ifdef CONFIG_EARLY_SERVICES
	status = get_early_services_status();
	if (status) {
		struct kstat stat;
		/* Wait for early services SE policy load completion signal */