]> git.baikalelectronics.ru Git - kernel.git/commit
kernel.h: split out instruction pointer accessors
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 9 Nov 2021 02:32:43 +0000 (18:32 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Nov 2021 18:02:49 +0000 (10:02 -0800)
commitdffe9012113fdee59edc16cd8dd706e43666cf8a
tree0d89b9a5d69dadeaab969ebfc0f888236d898a60
parentba98a3a309c9c08cf6bf1e73ea32c2940f9ed4eb
kernel.h: split out instruction pointer accessors

bottom_half.h needs _THIS_IP_ to be standalone, so split that and
_RET_IP_ out from kernel.h into the new instruction_pointer.h.  kernel.h
directly needs them, so include it there and replace the include of
kernel.h with this new file in bottom_half.h.

Link: https://lkml.kernel.org/r/20211028161248.45232-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/bottom_half.h
include/linux/instruction_pointer.h [new file with mode: 0644]
include/linux/kernel.h