diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-17 01:46:21 -0400 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-04-17 01:47:04 -0400 |
commit | 2a2cf6b18626e66b7898013dfa4df8fe2feca568 (patch) | |
tree | d8de82bd941bab2b448c3283fe278cbfe51b2ea7 /drivers/s390/crypto/zcrypt_api.h | |
parent | 1e42f32785dc252191bc8a4825e1fee77519d947 (diff) |
[S390] 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: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/crypto/zcrypt_api.h')
-rw-r--r-- | drivers/s390/crypto/zcrypt_api.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/s390/crypto/zcrypt_api.h b/drivers/s390/crypto/zcrypt_api.h index 0e948528a73a..5c6e222b2ac4 100644 --- a/drivers/s390/crypto/zcrypt_api.h +++ b/drivers/s390/crypto/zcrypt_api.h | |||
@@ -43,17 +43,17 @@ | |||
43 | #define DEV_NAME "zcrypt" | 43 | #define DEV_NAME "zcrypt" |
44 | 44 | ||
45 | #define PRINTK(fmt, args...) \ | 45 | #define PRINTK(fmt, args...) \ |
46 | printk(KERN_DEBUG DEV_NAME ": %s -> " fmt, __FUNCTION__ , ## args) | 46 | printk(KERN_DEBUG DEV_NAME ": %s -> " fmt, __func__ , ## args) |
47 | #define PRINTKN(fmt, args...) \ | 47 | #define PRINTKN(fmt, args...) \ |
48 | printk(KERN_DEBUG DEV_NAME ": " fmt, ## args) | 48 | printk(KERN_DEBUG DEV_NAME ": " fmt, ## args) |
49 | #define PRINTKW(fmt, args...) \ | 49 | #define PRINTKW(fmt, args...) \ |
50 | printk(KERN_WARNING DEV_NAME ": %s -> " fmt, __FUNCTION__ , ## args) | 50 | printk(KERN_WARNING DEV_NAME ": %s -> " fmt, __func__ , ## args) |
51 | #define PRINTKC(fmt, args...) \ | 51 | #define PRINTKC(fmt, args...) \ |
52 | printk(KERN_CRIT DEV_NAME ": %s -> " fmt, __FUNCTION__ , ## args) | 52 | printk(KERN_CRIT DEV_NAME ": %s -> " fmt, __func__ , ## args) |
53 | 53 | ||
54 | #ifdef ZCRYPT_DEBUG | 54 | #ifdef ZCRYPT_DEBUG |
55 | #define PDEBUG(fmt, args...) \ | 55 | #define PDEBUG(fmt, args...) \ |
56 | printk(KERN_DEBUG DEV_NAME ": %s -> " fmt, __FUNCTION__ , ## args) | 56 | printk(KERN_DEBUG DEV_NAME ": %s -> " fmt, __func__ , ## args) |
57 | #else | 57 | #else |
58 | #define PDEBUG(fmt, args...) do {} while (0) | 58 | #define PDEBUG(fmt, args...) do {} while (0) |
59 | #endif | 59 | #endif |