From 818dcf22777dadafe976f2ea787940cdc50374e7 Mon Sep 17 00:00:00 2001 From: Mike Nordell Date: Sat, 21 Aug 2004 15:29:08 +0000 Subject: [PATCH] stop wasting power at shutdown svn path=/trunk/; revision=10629 --- reactos/ntoskrnl/ex/power.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/reactos/ntoskrnl/ex/power.c b/reactos/ntoskrnl/ex/power.c index 656a3028060..91c0ae74e59 100644 --- a/reactos/ntoskrnl/ex/power.c +++ b/reactos/ntoskrnl/ex/power.c @@ -49,11 +49,10 @@ NtShutdownSystem(IN SHUTDOWN_ACTION Action) #else PopSetSystemPowerState(PowerSystemShutdown); - Ke386DisableInterrupts(); - while (TRUE) { - ; + Ke386DisableInterrupts(); + Ke386HaltProcessor(); } #endif }