aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/ibmasm/r_heartbeat.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2007-07-17 07:03:58 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 13:23:04 -0400
commit3110dc7a8660ea1617afac2a55e3d18ae6ce141b (patch)
tree616aaa6975f236c220b35271e1fbfddfe658a547 /drivers/misc/ibmasm/r_heartbeat.c
parent567f3e422a9a155d7c7643148efb5bf959065d34 (diff)
IBMASM: whitespace cleanup
IBMASM: whitespace cleanup Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Cc: Vernon Mauery <vernux@us.ibm.com> Cc: Max Asbock <masbock@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/ibmasm/r_heartbeat.c')
-rw-r--r--drivers/misc/ibmasm/r_heartbeat.c10
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;