Skip to content

Commit 7499528

Browse files
Anisse Astiergregkh
authored andcommitted
arm64: ssbd: explicitly depend on <linux/prctl.h>
commit adeaa21 upstream. 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: 9cdc010 ("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 3e16b5c commit 7499528

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm64/kernel/ssbd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*/
55

66
#include <linux/errno.h>
7+
#include <linux/prctl.h>
78
#include <linux/sched.h>
89
#include <linux/thread_info.h>
910

0 commit comments

Comments
 (0)