mirror of https://gitee.com/openkylin/linux.git
afs: remove smp_prcessor_id() from debug macro
Signed-off-by: Sven Schnelle <svens@stackframe.org> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
4cd1350465
commit
ad16df848d
|
@ -749,7 +749,7 @@ extern int afs_fsync(struct file *, struct dentry *, int);
|
|||
extern unsigned afs_debug;
|
||||
|
||||
#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 */
|
||||
static inline __attribute__((format(printf,1,2)))
|
||||
|
|
Loading…
Reference in New Issue