summaryrefslogtreecommitdiff
path: root/include/linux/init.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-01 02:24:37 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-01 02:24:37 -0700
commit6ce8ea8a4590fa59e8987392960983254fdfc16e (patch)
treeceec4d8f47856b51c36a231eefa9e93961d8e947 /include/linux/init.h
parent21366d93f295975ecbe3adf2f78749e00ff20893 (diff)
Use "ifdef" rather than "if" to test for __KERNEL__
Both work, but the latter can cause warnings in user space from compilers that don't like using undefined identifiers in preprocessor expressions (quite reasonable). Pointed out by Randy Dunlap.
Diffstat (limited to 'include/linux/init.h')
0 files changed, 0 insertions, 0 deletions