]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
s390/ptrace: Explicitly include <linux/typecheck.h>
authorJens Remus <jremus@linux.ibm.com>
Thu, 23 Oct 2025 09:23:58 +0000 (11:23 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 24 Oct 2025 13:25:56 +0000 (15:25 +0200)
The psw_bits() macro makes use of typecheck() without that typecheck.h
is included. Add the missing include to avoid potential future compile
problems.

[hca@linux.ibm.com: change commit message]

Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/ptrace.h

index dfa770b15fadb31bed04f919d0b26dad89b0a741..8fae167c1bd66929d20225813dfc8bc1eb2412bd 100644 (file)
@@ -8,6 +8,7 @@
 #define _S390_PTRACE_H
 
 #include <linux/bits.h>
+#include <linux/typecheck.h>
 #include <uapi/asm/ptrace.h>
 #include <asm/thread_info.h>
 #include <asm/tpi.h>