[MIPS] replace remaining __FUNCTION__ occurrences
authorHarvey Harrison <harvey.harrison@gmail.com>
Fri, 28 Mar 2008 21:34:39 +0000 (14:34 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 28 Apr 2008 16:14:27 +0000 (17:14 +0100)
__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>
arch/mips/au1000/common/power.c
arch/mips/kernel/signal-common.h
arch/mips/pci/ops-pnx8550.c
arch/mips/sgi-ip32/ip32-reset.c
arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_irq.c
arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c

index 54047d69b820c98195dfa534748019414d8e76ea..ca4b3dea3c9291ed06529e41d78db525e9188d1b 100644 (file)
@@ -47,7 +47,7 @@
 
 #define DEBUG 1
 #ifdef DEBUG
-#  define DPRINTK(fmt, args...)        printk("%s: " fmt, __FUNCTION__ , ## args)
+#  define DPRINTK(fmt, args...)        printk("%s: " fmt, __func__, ## args)
 #else
 #  define DPRINTK(fmt, args...)
 #endif
index c0faabd520103dec45ddce73aefaf8e27f775d35..6c8e8c4246f754439602790815f88eaa1bb6280a 100644 (file)
@@ -14,7 +14,7 @@
 /* #define DEBUG_SIG */
 
 #ifdef DEBUG_SIG
-#  define DEBUGP(fmt, args...) printk("%s: " fmt, __FUNCTION__ , ##args)
+#  define DEBUGP(fmt, args...) printk("%s: " fmt, __func__, ##args)
 #else
 #  define DEBUGP(fmt, args...)
 #endif
index d6106465249830907fdff82239f25dc388b9ba8e..0e160d9f07c39ae5aafd5df33dd605b6365118f7 100644 (file)
@@ -90,14 +90,14 @@ config_access(unsigned int pci_cmd, struct pci_bus *bus, unsigned int devfn, int
 
                loops--;
                if (loops == 0) {
-                       printk("%s : Arbiter Locked.\n", __FUNCTION__);
+                       printk("%s : Arbiter Locked.\n", __func__);
                }
        }
 
        clear_status();
        if ((pci_cmd == PCI_CMD_IOR) || (pci_cmd == PCI_CMD_IOW)) {
                printk("%s timeout (GPPM_CTRL=%X) ioaddr %lX pci_cmd %X\n",
-                      __FUNCTION__, inl(PCI_BASE | PCI_GPPM_CTRL), ioaddr,
+                      __func__, inl(PCI_BASE | PCI_GPPM_CTRL), ioaddr,
                       pci_cmd);
        }
 
index 624bbdbff2a8bf40d47ae412d5361b43369b9b36..b6cab089561e117cc4a4fc785cdd10d5b0f736bf 100644 (file)
@@ -142,7 +142,7 @@ static irqreturn_t ip32_rtc_int(int irq, void *dev_id)
        reg_c = CMOS_READ(RTC_INTR_FLAGS);
        if (!(reg_c & RTC_IRQF)) {
                printk(KERN_WARNING
-                       "%s: RTC IRQ without RTC_IRQF\n", __FUNCTION__);
+                       "%s: RTC IRQ without RTC_IRQF\n", __func__);
        }
        /* Wait until interrupt goes away */
        disable_irq(MACEISA_RTC_IRQ);
index 3f808b6292429248dbfd6be1055fcf493e6a9d83..6d31f2a98abf3a068388a1fecf3496adc7d399e1 100644 (file)
@@ -173,7 +173,7 @@ static const u32 toshiba_rbtx4927_irq_debug_flag =
         { \
            char tmp[100]; \
            sprintf( tmp, str ); \
-           printk( "%s(%s:%u)::%s", __FUNCTION__, __FILE__, __LINE__, tmp ); \
+           printk( "%s(%s:%u)::%s", __func__, __FILE__, __LINE__, tmp ); \
         }
 #else
 #define TOSHIBA_RBTX4927_IRQ_DPRINTK(flag, str...)
index e466e5e711d8919c69b49f2033b60e9407a202f4..2203c77b2ce25e21f383dbb46447e9478753bbbe 100644 (file)
@@ -93,7 +93,7 @@ static const u32 toshiba_rbtx4927_setup_debug_flag =
         { \
            char tmp[100]; \
            sprintf( tmp, str ); \
-           printk( "%s(%s:%u)::%s", __FUNCTION__, __FILE__, __LINE__, tmp ); \
+           printk( "%s(%s:%u)::%s", __func__, __FILE__, __LINE__, tmp ); \
         }
 #else
 #define TOSHIBA_RBTX4927_SETUP_DPRINTK(flag, str...)