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>
Mon, 29 Dec 2008 13:33:59 +0000 (15:33 +0200)
commit35995a4d815586bc968a857f7235707940a2f755
treebbee251d5e4fc027a07cb86b3428ba5f08dffab3
parented313489badef16d700f5a3be50e8fd8f8294bc8
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