[RESEND RFC PATCH 1/5] printk: make printk a macro

2013-07-25 Thread Hidehiro Kawai
To allow building up metadata transparently for each printk(), make printk() a macro while keeping printk()'s API. Then, printk() calls _printk() which implements the original printk() function. printk() is used from assembly sources, but they don't include printk.h and don't use this new printk(

[RFC PATCH 1/5] printk: make printk a macro

2013-07-02 Thread Hidehiro Kawai
To allow building up metadata transparently for each printk(), make printk() a macro while keeping printk()'s API. Then, printk() calls _printk() which implements the original printk() function. printk() is used from assembly sources, but they don't include printk.h and don't use this new printk(