misc: replace __FUNCTION__ with __func__

__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>
This commit is contained in:
Harvey Harrison 2008-10-15 22:01:25 -07:00 committed by Linus Torvalds
parent d5c003b4d1
commit 80a914dc05
6 changed files with 8 additions and 8 deletions

View file

@ -11,7 +11,7 @@
#undef DEBUG_PROCESS
#ifdef DEBUG_PROCESS
#define DPRINTK(fmt, args...) printk("%s:%d:%s: " fmt, __FILE__, __LINE__, \
__FUNCTION__, ##args)
__func__, ##args)
#else
#define DPRINTK(fmt, args...)
#endif