From nobody Thu Nov 28 06:27:38 2024 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8FBF12139A7 for ; Fri, 4 Oct 2024 13:56:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728050187; cv=none; b=rqsmiiOqTgEY3ITULHaE+a3tSiObP7Ncq71xCSuYqxG39D6dDpfaUV+qmOK75NtfaONKXXyxWncowQuEle61xSHM+PPNUxC+i+6pHyzY6RsPyiIwdgVHMGKvFu8+kkX44ldSEv1/+WYBbexkfhqMQmG0YO+q3JJ7LmJiR7Ott0w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728050187; c=relaxed/simple; bh=W5gg0bmYi+cHGHIRHDi7OUpL3uRLaizOzsk2Cu9nxag=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=neKGSdKBzSTtY46/IxZ+arlmHLlzaDWn8aIF2IeqenFbNtCheQ+NrfE/gCZ7yXRLw1b4Ifsb2UQ4PVmF+nc9NL2qb537S/O5O7qM0QWZR1fbWxGyljgWh/t2lIBNQp9B61NyevBJMEbvKv+pcz39kHbvIYlX4RUH0DhydMk2/NY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D12DC4CED2; Fri, 4 Oct 2024 13:56:27 +0000 (UTC) Received: from rostedt by gandalf with local (Exim 4.98) (envelope-from ) id 1swio7-00000005C9Y-3Gia; Fri, 04 Oct 2024 09:57:23 -0400 Message-ID: <20241004135723.638567806@goodmis.org> User-Agent: quilt/0.68 Date: Fri, 04 Oct 2024 09:56:59 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Masahiro Yamada , Sami Tolvanen Subject: [for-linus][PATCH 4/8] x86/ftrace: Include References: <20241004135655.993267242@goodmis.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Sami Tolvanen uses struct pt_regs in several places. Include to ensure it's visible. This is needed to make sure object files that only include compile. Cc: Mark Rutland Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: "H. Peter Anvin" Link: https://lore.kernel.org/20240916221557.846853-2-samitolvanen@google.c= om Suggested-by: Masahiro Yamada Signed-off-by: Sami Tolvanen Acked-by: Masami Hiramatsu (Google) Signed-off-by: Steven Rostedt (Google) --- arch/x86/include/asm/ftrace.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/include/asm/ftrace.h b/arch/x86/include/asm/ftrace.h index 0152a81d9b4a..b4d719de2c84 100644 --- a/arch/x86/include/asm/ftrace.h +++ b/arch/x86/include/asm/ftrace.h @@ -2,6 +2,8 @@ #ifndef _ASM_X86_FTRACE_H #define _ASM_X86_FTRACE_H =20 +#include + #ifdef CONFIG_FUNCTION_TRACER #ifndef CC_USING_FENTRY # error Compiler does not support fentry? --=20 2.45.2