summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBrian Gerst <brgerst@gmail.com>2025-03-03 19:52:38 +0300
committerIngo Molnar <mingo@kernel.org>2025-03-04 22:30:33 +0300
commit46e8fff6d45fe44cb0939c9339b6d5936551b1e4 (patch)
tree77af8e2eb388bc26eec3ad148c5bc6a6f7ebae3b /include/linux
parent972f9cdff924ca53715019b63b4d4aed69d23b1e (diff)
downloadlinux-46e8fff6d45fe44cb0939c9339b6d5936551b1e4.tar.xz
x86/preempt: Move preempt count to percpu hot section
No functional change. Signed-off-by: Brian Gerst <brgerst@gmail.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Uros Bizjak <ubizjak@gmail.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20250303165246.2175811-4-brgerst@gmail.com
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/preempt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/preempt.h b/include/linux/preempt.h
index ca86235ac15c..4c1af9b7e28b 100644
--- a/include/linux/preempt.h
+++ b/include/linux/preempt.h
@@ -319,6 +319,7 @@ do { \
#ifdef CONFIG_PREEMPT_NOTIFIERS
struct preempt_notifier;
+struct task_struct;
/**
* preempt_ops - notifiers called when a task is preempted and rescheduled