Commit ad16df84 authored by Sven Schnelle's avatar Sven Schnelle Committed by Linus Torvalds

afs: remove smp_prcessor_id() from debug macro

Signed-off-by: default avatarSven Schnelle <svens@stackframe.org>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4cd13504
...@@ -749,7 +749,7 @@ extern int afs_fsync(struct file *, struct dentry *, int); ...@@ -749,7 +749,7 @@ extern int afs_fsync(struct file *, struct dentry *, int);
extern unsigned afs_debug; extern unsigned afs_debug;
#define dbgprintk(FMT,...) \ #define dbgprintk(FMT,...) \
printk("[%x%-6.6s] "FMT"\n", smp_processor_id(), current->comm ,##__VA_ARGS__) printk("[%-6.6s] "FMT"\n", current->comm ,##__VA_ARGS__)
/* make sure we maintain the format strings, even when debugging is disabled */ /* make sure we maintain the format strings, even when debugging is disabled */
static inline __attribute__((format(printf,1,2))) static inline __attribute__((format(printf,1,2)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment