[PATCH] clean up kernel messages
Arrange for all kernel printks to be no-ops. Only available if CONFIG_EMBEDDED. This patch saves about 375k on my laptop config and nearly 100k on minimal configs. Signed-off-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
cd7619d6bf
commit
d59745ce3e
@ -380,6 +380,7 @@ rp_sidt:
|
||||
ALIGN
|
||||
ignore_int:
|
||||
cld
|
||||
#ifdef CONFIG_PRINTK
|
||||
pushl %eax
|
||||
pushl %ecx
|
||||
pushl %edx
|
||||
@ -400,6 +401,7 @@ ignore_int:
|
||||
popl %edx
|
||||
popl %ecx
|
||||
popl %eax
|
||||
#endif
|
||||
iret
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user