summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorPaolo \'Blaisorblade\' Giarrusso <blaisorblade_spam@yahoo.it>2004-10-19 18:38:30 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-19 18:38:30 -0700
commit551107ca34a5e350c3bcaf20b76301db0cf3a242 (patch)
tree8459f534cb0fe15dfce851a82f61f37c4c82df04 /include/linux/kernel.h
parent0bf6d4e7f905149e1fc904a9f02ff68edd81ace4 (diff)
[PATCH] use container_of() for rb_entry()
Use, in the rb_entry definition, the container_of macro instead of reinventing the wheel; compared to using offset_of() as I did in the prev. version, it has type safety checking. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions