diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-23 03:39:01 +0200 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-04-23 03:39:01 +0200 |
commit | b85d858b40a28107ee50ca9e89f57c0e35c251c6 (patch) | |
tree | 96f1a2a344529e820fb0f256331070be3d83e600 /arch/blackfin/oprofile | |
parent | [Blackfin] arch: remove unused/incorrect definition (diff) | |
download | linux-b85d858b40a28107ee50ca9e89f57c0e35c251c6.tar.xz linux-b85d858b40a28107ee50ca9e89f57c0e35c251c6.zip |
[Blackfin] arch: __FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/oprofile')
-rw-r--r-- | arch/blackfin/oprofile/common.c | 2 | ||||
-rw-r--r-- | arch/blackfin/oprofile/op_model_bf533.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/oprofile/common.c b/arch/blackfin/oprofile/common.c index cb8b8d5af34f..0f6d303a8891 100644 --- a/arch/blackfin/oprofile/common.c +++ b/arch/blackfin/oprofile/common.c @@ -75,7 +75,7 @@ static int op_bfin_start(void) { int ret = -EBUSY; - printk(KERN_INFO "KSDBG:in %s\n", __FUNCTION__); + printk(KERN_INFO "KSDBG:in %s\n", __func__); mutex_lock(&pfmon_lock); if (!pfmon_enabled) { ret = model->start(ctr); diff --git a/arch/blackfin/oprofile/op_model_bf533.c b/arch/blackfin/oprofile/op_model_bf533.c index 872dffe33623..d1c698bb9ee5 100644 --- a/arch/blackfin/oprofile/op_model_bf533.c +++ b/arch/blackfin/oprofile/op_model_bf533.c @@ -125,7 +125,7 @@ int pm_overflow_handler(int irq, struct pt_regs *regs) unsigned int pc, pfctl; unsigned int count[2]; - pr_debug("get interrupt in %s\n", __FUNCTION__); + pr_debug("get interrupt in %s\n", __func__); if (oprofile_running == 0) { pr_debug("error: entering interrupt when oprofile is stopped.\n\r"); return -1; |