lkml.org 
[lkml]   [2020]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] arm64/fpsimd: add <asm/insn.h> to <asm/kprobes.h> to fix fpsimd build
Date
On Sun, 22 Nov 2020 20:45:10 -0800, Randy Dunlap wrote:
> Adding <asm/exception.h> brought in <asm/kprobes.h> which uses
> <asm/probes.h>, which uses 'pstate_check_t' so the latter needs to
> #include <asm/insn.h> for this typedef.
>
> Fixes this build error:
>
> In file included from arch/arm64/include/asm/kprobes.h:24,
> from arch/arm64/include/asm/exception.h:11,
> from arch/arm64/kernel/fpsimd.c:35:
> arch/arm64/include/asm/probes.h:16:2: error: unknown type name 'pstate_check_t'
> 16 | pstate_check_t *pstate_cc;
>
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64/fpsimd: add <asm/insn.h> to <asm/kprobes.h> to fix fpsimd build
https://git.kernel.org/arm64/c/03659efe4287

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

\
 
 \ /
  Last update: 2020-11-23 12:28    [W:0.073 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site