]> git.baikalelectronics.ru Git - kernel.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>
Mon, 29 Dec 2008 13:33:59 +0000 (15:33 +0200)
commit492ac7ca402ebcfea5a9671aaf144b9949c95c6e
treebbee251d5e4fc027a07cb86b3428ba5f08dffab3
parent6a7f399dc7dd413e6c12303f3fa8e11caf2c9817
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