]> git.baikalelectronics.ru Git - kernel.git/commit
Make __stringify support variable argument macros too
authorZhaolei <zhaolei@cn.fujitsu.com>
Wed, 8 Apr 2009 08:58:57 +0000 (16:58 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 10 Apr 2009 13:48:52 +0000 (15:48 +0200)
commit5f56f3b0b669712d7504152c8b1a519bbcda4cab
tree809a93fb2683ad3fe1d77ca7c9b894963000533e
parent9af0d350dde91041468cc274135e24260fd2e1d3
Make __stringify support variable argument macros too

For example:

  __stringify(__entry->irq, __entry->ret)

will now convert it to:

  "REC->irq, REC->ret"

It also still supports single arguments as the old macro did.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <49DC6751.30308@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/stringify.h