diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-10-25 10:06:13 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-26 00:10:17 +0200 |
commit | de48844398f81cfdf087d56e12c920d620dae8d5 (patch) | |
tree | b5fa6f7def2bcd53f5b044fc8d632b79654f5d08 /lib/kernel_lock.c | |
parent | Fix /proc/acpi/alarm BCD alarm encodings (diff) | |
download | linux-de48844398f81cfdf087d56e12c920d620dae8d5.tar.xz linux-de48844398f81cfdf087d56e12c920d620dae8d5.zip |
Permit silencing of __deprecated warnings.
The __deprecated marker is quite useful in highlighting the remnants of
old APIs that want removing.
However, it is quite normal for one or more years to pass, before the
(usually ancient, bitrotten) code in question is either updated or
deleted.
Thus, like __must_check, add a Kconfig option that permits the silencing
of this compiler warning.
This change mimics the ifdef-ery and Kconfig defaults of MUST_CHECK as
closely as possible.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/kernel_lock.c')
0 files changed, 0 insertions, 0 deletions