Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c654749777e8624187b53fbb94cea91a7bf74347
Commit:     c654749777e8624187b53fbb94cea91a7bf74347
Parent:     99ca4e582d4a4088969681efff97be44d98421a1
Author:     Michael Holzheu <[EMAIL PROTECTED]>
AuthorDate: Sat Jan 26 14:11:12 2008 +0100
Committer:  Martin Schwidefsky <[EMAIL PROTECTED]>
CommitDate: Sat Jan 26 14:11:20 2008 +0100

    [S390] Load disabled wait psw instead of stopping cpu on halt.
    
    Signed-off-by: Michael Holzheu <[EMAIL PROTECTED]>
    Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]>
---
 arch/s390/kernel/ipl.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c
index d73aff6..e3b9c6c 100644
--- a/arch/s390/kernel/ipl.c
+++ b/arch/s390/kernel/ipl.c
@@ -1096,8 +1096,12 @@ static struct shutdown_action vmcmd_action = 
{SHUTDOWN_ACTION_VMCMD_STR,
 
 static void stop_run(struct shutdown_trigger *trigger)
 {
-       signal_processor(smp_processor_id(), sigp_stop_and_store_status);
-       for (;;);
+       if (strcmp(trigger->name, ON_PANIC_STR) == 0)
+               disabled_wait((unsigned long) __builtin_return_address(0));
+       else {
+               signal_processor(smp_processor_id(), sigp_stop);
+               for (;;);
+       }
 }
 
 static struct shutdown_action stop_action = {SHUTDOWN_ACTION_STOP_STR,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to