]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] mutex subsystem, add typecheck_fn(type, function)
authorChuck Ebbert <76306.1226@compuserve.com>
Mon, 9 Jan 2006 23:59:17 +0000 (15:59 -0800)
committerIngo Molnar <mingo@hera.kernel.org>
Mon, 9 Jan 2006 23:59:17 +0000 (15:59 -0800)
commit2eb60e5d1408f664074d8dc2e2a10aeefd161956
tree1430cbabc0e634c5efceabbe72da426fde8cc5d0
parent630d57442ff6ae38524c3bb5be654df68496ec44
[PATCH] mutex subsystem, add typecheck_fn(type, function)

add typecheck_fn(type, function) to do type-checking of function
pointers.

Modified-by: Ingo Molnar <mingo@elte.hu>
(made it typeof() based, instead of typedef based.)

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/kernel.h