diff options
author | Joe Perches <joe@perches.com> | 2012-07-30 23:40:17 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-31 02:25:14 +0200 |
commit | 04d2c8c83d0e3ac5f78aeede51babb3236200112 (patch) | |
tree | c32b6197f9487cc18f00e85bdfb935a7a6a92477 /crypto/sha256_generic.c | |
parent | sound: use printk_get_level and printk_skip_level (diff) | |
download | linux-04d2c8c83d0e3ac5f78aeede51babb3236200112.tar.xz linux-04d2c8c83d0e3ac5f78aeede51babb3236200112.zip |
printk: convert the format for KERN_<LEVEL> to a 2 byte pattern
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 <joe@perches.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/sha256_generic.c')
0 files changed, 0 insertions, 0 deletions