[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>
This commit is contained in:
parent
f2ce89f30e
commit
bb09a954b6
@ -47,7 +47,7 @@
|
|||||||
|
|
||||||
#define DEBUG 1
|
#define DEBUG 1
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
# define DPRINTK(fmt, args...) printk("%s: " fmt, __FUNCTION__ , ## args)
|
# define DPRINTK(fmt, args...) printk("%s: " fmt, __func__, ## args)
|
||||||
#else
|
#else
|
||||||
# define DPRINTK(fmt, args...)
|
# define DPRINTK(fmt, args...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
/* #define DEBUG_SIG */
|
/* #define DEBUG_SIG */
|
||||||
|
|
||||||
#ifdef DEBUG_SIG
|
#ifdef DEBUG_SIG
|
||||||
# define DEBUGP(fmt, args...) printk("%s: " fmt, __FUNCTION__ , ##args)
|
# define DEBUGP(fmt, args...) printk("%s: " fmt, __func__, ##args)
|
||||||
#else
|
#else
|
||||||
# define DEBUGP(fmt, args...)
|
# define DEBUGP(fmt, args...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -90,14 +90,14 @@ config_access(unsigned int pci_cmd, struct pci_bus *bus, unsigned int devfn, int
|
|||||||
|
|
||||||
loops--;
|
loops--;
|
||||||
if (loops == 0) {
|
if (loops == 0) {
|
||||||
printk("%s : Arbiter Locked.\n", __FUNCTION__);
|
printk("%s : Arbiter Locked.\n", __func__);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
clear_status();
|
clear_status();
|
||||||
if ((pci_cmd == PCI_CMD_IOR) || (pci_cmd == PCI_CMD_IOW)) {
|
if ((pci_cmd == PCI_CMD_IOR) || (pci_cmd == PCI_CMD_IOW)) {
|
||||||
printk("%s timeout (GPPM_CTRL=%X) ioaddr %lX pci_cmd %X\n",
|
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);
|
pci_cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -142,7 +142,7 @@ static irqreturn_t ip32_rtc_int(int irq, void *dev_id)
|
|||||||
reg_c = CMOS_READ(RTC_INTR_FLAGS);
|
reg_c = CMOS_READ(RTC_INTR_FLAGS);
|
||||||
if (!(reg_c & RTC_IRQF)) {
|
if (!(reg_c & RTC_IRQF)) {
|
||||||
printk(KERN_WARNING
|
printk(KERN_WARNING
|
||||||
"%s: RTC IRQ without RTC_IRQF\n", __FUNCTION__);
|
"%s: RTC IRQ without RTC_IRQF\n", __func__);
|
||||||
}
|
}
|
||||||
/* Wait until interrupt goes away */
|
/* Wait until interrupt goes away */
|
||||||
disable_irq(MACEISA_RTC_IRQ);
|
disable_irq(MACEISA_RTC_IRQ);
|
||||||
|
@ -173,7 +173,7 @@ static const u32 toshiba_rbtx4927_irq_debug_flag =
|
|||||||
{ \
|
{ \
|
||||||
char tmp[100]; \
|
char tmp[100]; \
|
||||||
sprintf( tmp, str ); \
|
sprintf( tmp, str ); \
|
||||||
printk( "%s(%s:%u)::%s", __FUNCTION__, __FILE__, __LINE__, tmp ); \
|
printk( "%s(%s:%u)::%s", __func__, __FILE__, __LINE__, tmp ); \
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#define TOSHIBA_RBTX4927_IRQ_DPRINTK(flag, str...)
|
#define TOSHIBA_RBTX4927_IRQ_DPRINTK(flag, str...)
|
||||||
|
@ -93,7 +93,7 @@ static const u32 toshiba_rbtx4927_setup_debug_flag =
|
|||||||
{ \
|
{ \
|
||||||
char tmp[100]; \
|
char tmp[100]; \
|
||||||
sprintf( tmp, str ); \
|
sprintf( tmp, str ); \
|
||||||
printk( "%s(%s:%u)::%s", __FUNCTION__, __FILE__, __LINE__, tmp ); \
|
printk( "%s(%s:%u)::%s", __func__, __FILE__, __LINE__, tmp ); \
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#define TOSHIBA_RBTX4927_SETUP_DPRINTK(flag, str...)
|
#define TOSHIBA_RBTX4927_SETUP_DPRINTK(flag, str...)
|
||||||
|
Loading…
Reference in New Issue
Block a user