diff options
author | Benjamin Gray <bgray@linux.ibm.com> | 2023-06-19 09:36:25 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-06-19 09:36:25 +0200 |
commit | 81e30a5412e4bcdc9d338ffa0cf1f4b90bc63abc (patch) | |
tree | 65ea8ee37d2d86b644bb9328ff470d86df0d71d6 /arch/powerpc/kernel | |
parent | powerpc/book3s: Add missing <linux/sched.h> include (diff) | |
download | linux-81e30a5412e4bcdc9d338ffa0cf1f4b90bc63abc.tar.xz linux-81e30a5412e4bcdc9d338ffa0cf1f4b90bc63abc.zip |
powerpc/ptrace: Add missing <linux/regset.h> include
ptrace-decl.h uses user_regset_get2_fn (among other things) from
regset.h. While all current users of ptrace-decl.h include regset.h
before it anyway, it adds an implicit ordering dependency and breaks
source tooling that tries to inspect ptrace-decl.h by itself.
Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Reviewed-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230616034846.311705-3-bgray@linux.ibm.com
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/ptrace/ptrace-decl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/ptrace/ptrace-decl.h b/arch/powerpc/kernel/ptrace/ptrace-decl.h index eafe5f0f6289..463a63eb8cc7 100644 --- a/arch/powerpc/kernel/ptrace/ptrace-decl.h +++ b/arch/powerpc/kernel/ptrace/ptrace-decl.h @@ -1,5 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ +#include <linux/regset.h> + /* * Set of msr bits that gdb can change on behalf of a process. */ |