diff options
Diffstat (limited to 'drivers/misc/ibmasm/r_heartbeat.c')
| -rw-r--r-- | drivers/misc/ibmasm/r_heartbeat.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/misc/ibmasm/r_heartbeat.c b/drivers/misc/ibmasm/r_heartbeat.c index f8fdb2d5417e..bec9e2c44bef 100644 --- a/drivers/misc/ibmasm/r_heartbeat.c +++ b/drivers/misc/ibmasm/r_heartbeat.c | |||
| @@ -16,7 +16,7 @@ | |||
| 16 | * | 16 | * |
| 17 | * Copyright (C) IBM Corporation, 2004 | 17 | * Copyright (C) IBM Corporation, 2004 |
| 18 | * | 18 | * |
| 19 | * Author: Max Asböck <amax@us.ibm.com> | 19 | * Author: Max Asböck <amax@us.ibm.com> |
| 20 | * | 20 | * |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| @@ -36,10 +36,10 @@ static struct { | |||
| 36 | unsigned char command[3]; | 36 | unsigned char command[3]; |
| 37 | } rhb_dot_cmd = { | 37 | } rhb_dot_cmd = { |
| 38 | .header = { | 38 | .header = { |
| 39 | .type = sp_read, | 39 | .type = sp_read, |
| 40 | .command_size = 3, | 40 | .command_size = 3, |
| 41 | .data_size = 0, | 41 | .data_size = 0, |
| 42 | .status = 0 | 42 | .status = 0 |
| 43 | }, | 43 | }, |
| 44 | .command = { 4, 3, 6 } | 44 | .command = { 4, 3, 6 } |
| 45 | }; | 45 | }; |
| @@ -76,9 +76,9 @@ int ibmasm_start_reverse_heartbeat(struct service_processor *sp, struct reverse_ | |||
| 76 | if (cmd->status != IBMASM_CMD_COMPLETE) | 76 | if (cmd->status != IBMASM_CMD_COMPLETE) |
| 77 | times_failed++; | 77 | times_failed++; |
| 78 | 78 | ||
| 79 | wait_event_interruptible_timeout(rhb->wait, | 79 | wait_event_interruptible_timeout(rhb->wait, |
| 80 | rhb->stopped, | 80 | rhb->stopped, |
| 81 | REVERSE_HEARTBEAT_TIMEOUT * HZ); | 81 | REVERSE_HEARTBEAT_TIMEOUT * HZ); |
| 82 | 82 | ||
| 83 | if (signal_pending(current) || rhb->stopped) { | 83 | if (signal_pending(current) || rhb->stopped) { |
| 84 | result = -EINTR; | 84 | result = -EINTR; |
