]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
m68k: asm/ptrace.h: include linux/types.h
authorRasmus Villemoes <ravi@prevas.dk>
Thu, 3 Oct 2024 21:27:53 +0000 (23:27 +0200)
committerStefan Roese <sr@denx.de>
Wed, 23 Oct 2024 04:52:38 +0000 (06:52 +0200)
Modifying a generic header like watchdog.h, removing not directly used
asm/ptrace.h header relies on whoever includes it to already have
included something that defines the type ulong.

Make the asm/ptrace.h header self-contained by including the proper
header.

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/m68k/include/asm/ptrace.h

index d419824806c3c919d1858b6f42a97b950b9a65b6..5decf73a1d18658465fe8b8e80452dac4225896b 100644 (file)
@@ -9,6 +9,8 @@
  */
 #ifndef __ASSEMBLY__
 
+#include <linux/types.h>
+
 struct pt_regs {
        ulong d0;
        ulong d1;