diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-28 17:34:39 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-04-28 12:14:27 -0400 |
commit | bb09a954b64c61b691c095e0a20708265b5bc2bc (patch) | |
tree | 2f048790608989d756c60c825db61e2e38287cbd /arch/mips/tx4927 | |
parent | f2ce89f30ede4cb32fa8f9aaec884087069c81ba (diff) |
[MIPS] 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: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/tx4927')
-rw-r--r-- | arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_irq.c | 2 | ||||
-rw-r--r-- | arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_irq.c b/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_irq.c index 3f808b629242..6d31f2a98abf 100644 --- a/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_irq.c +++ b/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_irq.c | |||
@@ -173,7 +173,7 @@ static const u32 toshiba_rbtx4927_irq_debug_flag = | |||
173 | { \ | 173 | { \ |
174 | char tmp[100]; \ | 174 | char tmp[100]; \ |
175 | sprintf( tmp, str ); \ | 175 | sprintf( tmp, str ); \ |
176 | printk( "%s(%s:%u)::%s", __FUNCTION__, __FILE__, __LINE__, tmp ); \ | 176 | printk( "%s(%s:%u)::%s", __func__, __FILE__, __LINE__, tmp ); \ |
177 | } | 177 | } |
178 | #else | 178 | #else |
179 | #define TOSHIBA_RBTX4927_IRQ_DPRINTK(flag, str...) | 179 | #define TOSHIBA_RBTX4927_IRQ_DPRINTK(flag, str...) |
diff --git a/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c b/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c index e466e5e711d8..2203c77b2ce2 100644 --- a/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c +++ b/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c | |||
@@ -93,7 +93,7 @@ static const u32 toshiba_rbtx4927_setup_debug_flag = | |||
93 | { \ | 93 | { \ |
94 | char tmp[100]; \ | 94 | char tmp[100]; \ |
95 | sprintf( tmp, str ); \ | 95 | sprintf( tmp, str ); \ |
96 | printk( "%s(%s:%u)::%s", __FUNCTION__, __FILE__, __LINE__, tmp ); \ | 96 | printk( "%s(%s:%u)::%s", __func__, __FILE__, __LINE__, tmp ); \ |
97 | } | 97 | } |
98 | #else | 98 | #else |
99 | #define TOSHIBA_RBTX4927_SETUP_DPRINTK(flag, str...) | 99 | #define TOSHIBA_RBTX4927_SETUP_DPRINTK(flag, str...) |