aboutsummaryrefslogtreecommitdiff
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorJan Engelhardt <[email protected]>2012-04-19 11:44:39 -0700
committerPaul E. McKenney <[email protected]>2012-04-24 20:54:51 -0700
commitd8169d4c369e8aa2fda10df705a4957331b5a4db (patch)
treece8a08d5bd1a58f5e4703f39b2cc2033a8b03994 /net/tipc/node.c
parentc9336643e1440f4dfc89ad4ac6185813619abb8c (diff)
rcu: Make __kfree_rcu() less dependent on compiler choices
Currently, __kfree_rcu() is implemented as an inline function, and contains a BUILD_BUG_ON() that malfunctions if __kfree_rcu() is compiled as an out-of-line function. Unfortunately, there are compiler settings (e.g., -O0) that can result in __kfree_rcu() being compiled out of line, resulting in annoying build breakage. This commit therefore converts both __kfree_rcu() and __is_kfree_rcu_offset() from inline functions to macros to prevent such misbehavior on the part of the compiler. Signed-off-by: Jan Engelhardt <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Reviewed-by: Josh Triplett <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions