summaryrefslogtreecommitdiffstats
path: root/include/linux/bottom_half.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2021-11-08 18:32:43 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2021-11-09 10:02:49 -0800
commite52340de11d8bca3ba35e5a72fea4f2a5b6abbbb (patch)
tree0d89b9a5d69dadeaab969ebfc0f888236d898a60 /include/linux/bottom_half.h
parentb4b87651104dd32ab258d097d47b97e243a95222 (diff)
downloadlinux-e52340de11d8bca3ba35e5a72fea4f2a5b6abbbb.tar.bz2
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>
Diffstat (limited to 'include/linux/bottom_half.h')
-rw-r--r--include/linux/bottom_half.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/bottom_half.h b/include/linux/bottom_half.h
index 11d107d88d03..fc53e0ad56d9 100644
--- a/include/linux/bottom_half.h
+++ b/include/linux/bottom_half.h
@@ -2,7 +2,7 @@
#ifndef _LINUX_BH_H
#define _LINUX_BH_H
-#include <linux/kernel.h>
+#include <linux/instruction_pointer.h>
#include <linux/preempt.h>
#if defined(CONFIG_PREEMPT_RT) || defined(CONFIG_TRACE_IRQFLAGS)