aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/ibmasm/heartbeat.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-04-29 03:59:20 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 11:06:03 -0400
commit6e574195b75543bc6a6240306313988b1952470c (patch)
tree510fb98e64cee409cf1f443391cadb5dc1e53aa3 /drivers/misc/ibmasm/heartbeat.c
parenteecd58536a97502153d4a2bd6f05038f657a1ab3 (diff)
drivers/misc: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.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/heartbeat.c')
-rw-r--r--drivers/misc/ibmasm/heartbeat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/misc/ibmasm/heartbeat.c b/drivers/misc/ibmasm/heartbeat.c
index 3036e785b3e4..1bc4306572a4 100644
--- a/drivers/misc/ibmasm/heartbeat.c
+++ b/drivers/misc/ibmasm/heartbeat.c
@@ -75,9 +75,9 @@ void ibmasm_heartbeat_exit(struct service_processor *sp)
75{ 75{
76 char tsbuf[32]; 76 char tsbuf[32];
77 77
78 dbg("%s:%d at %s\n", __FUNCTION__, __LINE__, get_timestamp(tsbuf)); 78 dbg("%s:%d at %s\n", __func__, __LINE__, get_timestamp(tsbuf));
79 ibmasm_wait_for_response(sp->heartbeat, IBMASM_CMD_TIMEOUT_NORMAL); 79 ibmasm_wait_for_response(sp->heartbeat, IBMASM_CMD_TIMEOUT_NORMAL);
80 dbg("%s:%d at %s\n", __FUNCTION__, __LINE__, get_timestamp(tsbuf)); 80 dbg("%s:%d at %s\n", __func__, __LINE__, get_timestamp(tsbuf));
81 suspend_heartbeats = 1; 81 suspend_heartbeats = 1;
82 command_put(sp->heartbeat); 82 command_put(sp->heartbeat);
83} 83}
@@ -88,7 +88,7 @@ void ibmasm_receive_heartbeat(struct service_processor *sp, void *message, size
88 struct dot_command_header *header = (struct dot_command_header *)cmd->buffer; 88 struct dot_command_header *header = (struct dot_command_header *)cmd->buffer;
89 char tsbuf[32]; 89 char tsbuf[32];
90 90
91 dbg("%s:%d at %s\n", __FUNCTION__, __LINE__, get_timestamp(tsbuf)); 91 dbg("%s:%d at %s\n", __func__, __LINE__, get_timestamp(tsbuf));
92 if (suspend_heartbeats) 92 if (suspend_heartbeats)
93 return; 93 return;
94 94