]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: ssbd: explicitly depend on <linux/prctl.h>
authorAnisse Astier <aastier@freebox.fr>
Mon, 17 Jun 2019 13:22:21 +0000 (15:22 +0200)
committerWill Deacon <will.deacon@arm.com>
Mon, 17 Jun 2019 17:38:10 +0000 (18:38 +0100)
commitadeaa21a4b6954e878f3f7d1c5659ed9c1fe567a
tree5be9bad7d76fdca2b003909a8b6054e67dda973e
parentc584b1202f2d0a04eaa66c29aaee9f6c172b5aa3
arm64: ssbd: explicitly depend on <linux/prctl.h>

Fix ssbd.c which depends implicitly on asm/ptrace.h including
linux/prctl.h (through for example linux/compat.h, then linux/time.h,
linux/seqlock.h, linux/spinlock.h and linux/irqflags.h), and uses
PR_SPEC* defines.

This is an issue since we'll soon be removing the include from
asm/ptrace.h.

Fixes: 9cdc0108baa8 ("arm64: ssbd: Add prctl interface for per-thread mitigation")
Cc: stable@vger.kernel.org
Signed-off-by: Anisse Astier <aastier@freebox.fr>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/ssbd.c