| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2014-12-10 | printk: add and use LOGLEVEL_<level> defines for KERN_<LEVEL> equivalents | Joe Perches | 1 | -0/+13 | |
| Use #defines instead of magic values. Signed-off-by: Joe Perches <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Cc: Jason Baron <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
| 2012-07-30 | printk: remove the now unnecessary "C" annotation for KERN_CONT | Joe Perches | 1 | -1/+1 | |
| Now that all KERN_<LEVEL> uses are prefixed with ASCII SOH, there is no need for a KERN_CONT. Keep it backward compatible by adding #define KERN_CONT "" Reduces kernel image size a thousand bytes. Signed-off-by: Joe Perches <[email protected]> Cc: Kay Sievers <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
| 2012-07-30 | printk: convert the format for KERN_<LEVEL> to a 2 byte pattern | Joe Perches | 1 | -11/+14 | |
| Instead of "<.>", use an ASCII SOH for the KERN_<LEVEL> prefix initiator. This saves 1 byte per printk, thousands of bytes in a normal kernel. No output changes are produced as vprintk_emit converts these uses to "<.>". Signed-off-by: Joe Perches <[email protected]> Cc: Kay Sievers <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||
| 2012-07-30 | printk: add kern_levels.h to make KERN_<LEVEL> available for asm use | Joe Perches | 1 | -0/+22 | |
| Separate the printk.h file into 2 pieces so the definitions can be used in asm files. Signed-off-by: Joe Perches <[email protected]> Cc: Kay Sievers <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> | |||||