Commit 9f389f4b authored by Sven Schnelle's avatar Sven Schnelle Committed by Linus Torvalds

rxrpc: remove smp_processor_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 ad16df84
...@@ -611,7 +611,7 @@ extern struct rxrpc_transport *rxrpc_find_transport(struct rxrpc_local *, ...@@ -611,7 +611,7 @@ extern struct rxrpc_transport *rxrpc_find_transport(struct rxrpc_local *,
extern unsigned rxrpc_debug; extern unsigned rxrpc_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