aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/spinlock_types.h
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2021-11-29 18:46:53 +0100
committerPeter Zijlstra <peterz@infradead.org>2021-12-07 15:14:12 +0100
commit0cf292b569bc9bc87d29ac87ca5c47fdd5882e10 (patch)
tree7c33ea3f9c11f756dfb6ee4aa530c565ff78118d /arch/sh/include/asm/spinlock_types.h
parentlocking: Mark racy reads of owner->on_cpu (diff)
downloadlinux-dev-0cf292b569bc9bc87d29ac87ca5c47fdd5882e10.tar.xz
linux-dev-0cf292b569bc9bc87d29ac87ca5c47fdd5882e10.zip
x86/mm: Include spinlock_t definition in pgtable.
This header file provides forward declartion for pgd_lock but does not include the header defining its type. This works since the definition of spinlock_t is usually included somehow via printk. By trying to avoid recursive includes on PREEMPT_RT I avoided the loop in printk and as a consequnce kernel/intel.c failed to compile due to missing type definition. Include the needed definition for spinlock_t. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20211129174654.668506-11-bigeasy@linutronix.de
Diffstat (limited to 'arch/sh/include/asm/spinlock_types.h')
0 files changed, 0 insertions, 0 deletions