]> err.no Git - linux-2.6/commit
[PATCH] Add deprecated_for_modules
authorPaul E. McKenney <paulmck@us.ibm.com>
Sun, 1 May 2005 15:59:03 +0000 (08:59 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 1 May 2005 15:59:03 +0000 (08:59 -0700)
commit512345be2549308b8ae8e85a3ff7f6d56a38e5f6
treed3611cf26dff40c5dacfc3ccadf06436442cde8e
parent66cf8f1443301a1d5bc9c21709e4264e6919a3e1
[PATCH] Add deprecated_for_modules

Add a deprecated_for_modules macro that allows symbols to be deprecated only
when used by modules, as suggested by Andrew Morton some months back.

Signed-off-by: Paul E. McKenney <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/compiler.h