]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite403ec1ba965697f1a904995e710948afc51fb4a
tree4e4abbb34106812ac9ba415fd231f490699ed69c
parentd567379c2c0c1848cffcae9809e06cb4a89fd227
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