Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

sparc64: replace remaining __FUNCTION__ occurances

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Harvey Harrison and committed by
David S. Miller
9a4a6682 74074dec

+2 -2
+1 -1
arch/sparc64/solaris/conv.h
··· 28 28 #define SUNOS(x) ((long)sunos_sys_table[x]) 29 29 30 30 #ifdef DEBUG_SOLARIS 31 - #define SOLD(s) printk("%s,%d,%s(): %s\n",__FILE__,__LINE__,__FUNCTION__,(s)) 31 + #define SOLD(s) printk("%s,%d,%s(): %s\n",__FILE__,__LINE__,__func__,(s)) 32 32 #define SOLDD(s) printk("solaris: "); printk s 33 33 #else 34 34 #define SOLD(s)
+1 -1
arch/sparc64/solaris/timod.c
··· 81 81 #define MKCTL_MAGIC 0xDEADBABEBADC0DEDL 82 82 #define PUT_MAGIC(a,m) do{(*(u64*)(a))=(m);}while(0) 83 83 #define SCHECK_MAGIC(a,m) do{if((*(u64*)(a))!=(m))printk("%s,%u,%s(): magic %08x at %p corrupted!\n",\ 84 - __FILE__,__LINE__,__FUNCTION__,(m),(a));}while(0) 84 + __FILE__,__LINE__,__func__,(m),(a));}while(0) 85 85 #define BUF_OFFSET sizeof(u64) 86 86 #define MKCTL_TRAILER sizeof(u64) 87 87