]> git.karo-electronics.de Git - linux-beck.git/commit
SLUB: Replace __builtin_return_address(0) with _RET_IP_.
authorEduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Tue, 19 Aug 2008 17:43:25 +0000 (20:43 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Wed, 26 Nov 2008 14:47:25 +0000 (16:47 +0200)
commitce71e27c6fdc43c29f36d307b9100bde70c947fc
tree4c38611002eb3945835ed6bec78d6fb55118165a
parent210b5c06130f266370b5ff86e3cb6d860e1be29c
SLUB: Replace __builtin_return_address(0) with _RET_IP_.

This patch replaces __builtin_return_address(0) with _RET_IP_, since a
previous patch moved _RET_IP_ and _THIS_IP_ to include/linux/kernel.h and
they're widely available now. This makes for shorter and easier to read
code.

[penberg@cs.helsinki.fi: remove _RET_IP_ casts to void pointer]
Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
include/linux/slab.h
mm/slab.c
mm/slub.c