Move _RET_IP_ and _THIS_IP_ to include/linux/kernel.h
authorEduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Sat, 5 Jul 2008 09:14:23 +0000 (12:14 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 5 Jul 2008 20:10:50 +0000 (13:10 -0700)
commitca31e146d5c2fe51498e619eb3a64782d02e310a
tree121916bb92004ca138fc8d8e436e68435c8d5de0
parent84df87b7ebdcbbc0f59df9526f4e63fda70647d3
Move _RET_IP_ and _THIS_IP_ to include/linux/kernel.h

These two macros are useful beyond lock debugging. Moved definitions from
include/linux/debug_locks.h to include/linux/kernel.h, so code that needs
them does not have to include the former, which would have been a less
intuitive choice of a header.

Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/debug_locks.h
include/linux/kernel.h