diff options
author | Peter Zijlstra <peterz@infradead.org> | 2023-12-15 10:12:17 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-12-15 16:25:55 -0800 |
commit | 4382159696c9af67ee047ed55f2dbf05480f52f6 (patch) | |
tree | 9e971990bd6bce7207d849991ac878731c6d70c4 /arch/x86/kernel | |
parent | 1467affd16b236fc86e1b8ec5eaa147e104cd2a6 (diff) | |
download | linux-4382159696c9af67ee047ed55f2dbf05480f52f6.tar.gz linux-4382159696c9af67ee047ed55f2dbf05480f52f6.tar.bz2 linux-4382159696c9af67ee047ed55f2dbf05480f52f6.zip |
cfi: Flip headers
Normal include order is that linux/foo.h should include asm/foo.h, CFI has it
the wrong way around.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Link: https://lore.kernel.org/r/20231215092707.231038174@infradead.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/cfi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cfi.c b/arch/x86/kernel/cfi.c index 8674a5c0c031..e6bf78fac146 100644 --- a/arch/x86/kernel/cfi.c +++ b/arch/x86/kernel/cfi.c @@ -4,10 +4,10 @@ * * Copyright (C) 2022 Google LLC */ -#include <asm/cfi.h> +#include <linux/string.h> +#include <linux/cfi.h> #include <asm/insn.h> #include <asm/insn-eval.h> -#include <linux/string.h> /* * Returns the target address and the expected type when regs->ip points |