[PATCH] x86_64: Add compat_printk and sysctl to turn off compat layer warnings
authorAndi Kleen <ak@suse.de>
Mon, 26 Jun 2006 11:56:52 +0000 (13:56 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 17:48:16 +0000 (10:48 -0700)
commitbebfa1013eee1d91b3242e5801cc8fbdfaf148ec
treed1abf916c29bbb5c312717f57798987268aff9a9
parentf201611fcecdfa825471dc425ee007997228fae4
[PATCH] x86_64: Add compat_printk and sysctl to turn off compat layer warnings

Sometimes e.g. with crashme the compat layer warnings can be noisy.
Add a way to turn them off by gating all output through compat_printk
that checks a global sysctl. The default is not changed.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/ia32/sys_ia32.c
fs/compat.c
include/linux/compat.h
include/linux/sysctl.h
kernel/sysctl.c