bitops kernel-doc: inline instead of macro
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 25 Oct 2007 21:21:49 +0000 (14:21 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 25 Oct 2007 23:16:26 +0000 (16:16 -0700)
commitfb9431eb038caa027cb98cb18576f1a731e56f76
tree4e4abbb34106812ac9ba415fd231f490699ed69c
parenta60387ba3114fe087349df23fa82e5ad9d5b6ff2
bitops kernel-doc: inline instead of macro

Use duplicated inline functions for test_and_set_bit_lock() on x86
instead of #define macros, thus avoiding a bad example.  This allows
kernel-doc to run cleanly instead of terminating with an error:

Error(linux-2.6.24-rc1//include/asm-x86/bitops_32.h:188): cannot understand prototype: 'test_and_set_bit_lock test_and_set_bit '

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-x86/bitops_32.h
include/asm-x86/bitops_64.h