From fdcb470b27bba6782bf6b6a9a60be3e54446f506 Mon Sep 17 00:00:00 2001 From: Matthew Barth Date: Thu, 1 Dec 2011 11:47:33 -0600 Subject: Complete virtual memory write path during shutdown sequence Change-Id: I93a6305b88539d8cf1b41cfc4cde713fd7c19494 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/522 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III --- src/usr/initservice/extinitsvc/extinitsvc.C | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/usr/initservice/extinitsvc') diff --git a/src/usr/initservice/extinitsvc/extinitsvc.C b/src/usr/initservice/extinitsvc/extinitsvc.C index 342dad0e7..9e6402ff1 100644 --- a/src/usr/initservice/extinitsvc/extinitsvc.C +++ b/src/usr/initservice/extinitsvc/extinitsvc.C @@ -167,8 +167,9 @@ void ExtInitSvc::init( void *io_ptr ) // pass an error code to initsvc that we are shutting down. pTaskArgs->postReturnCode( TASKARGS_SHUTDOWN_RC ); - // Tell the kernel to shutdown. - shutdown( SHUTDOWN_STATUS_EXTINITSVC_FAILED ); + //Tell initservice to perform shutdown sequence + InitService::getTheInstance().doShutdown( + SHUTDOWN_STATUS_EXTINITSVC_FAILED); } TRACFCOMP( g_trac_initsvc, @@ -294,7 +295,8 @@ void ExtInitSvc::init( void *io_ptr ) l_shutdownStatus = SHUTDOWN_STATUS_UT_FAILED; } - shutdown(l_shutdownStatus); + //Tell initservice to perform shutdown sequence + InitService::getTheInstance().doShutdown(l_shutdownStatus); // return to _start(), which may end the task or die. return; -- cgit v1.2.1