[PATCH v2 18/19] x86/asm-prototypes: Include <asm/ptrace.h>

From: Sami Tolvanen
Date: Thu Aug 15 2024 - 13:44:14 EST


<asm/ftrace.h> refers to struct pt_regs, make sure it's visible.

Signed-off-by: Sami Tolvanen <samitolvanen@xxxxxxxxxx>
---
arch/x86/include/asm/asm-prototypes.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/x86/include/asm/asm-prototypes.h b/arch/x86/include/asm/asm-prototypes.h
index 25466c4d2134..c82e68c8b7c2 100644
--- a/arch/x86/include/asm/asm-prototypes.h
+++ b/arch/x86/include/asm/asm-prototypes.h
@@ -1,4 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/ptrace.h>
#include <asm/ftrace.h>
#include <linux/uaccess.h>
#include <linux/pgtable.h>
--
2.46.0.184.g6999bdac58-goog