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
This commit is contained in:
Benjamin Gray 2023-06-19 17:36:25 +10:00 committed by Michael Ellerman
parent 7eec97b32e
commit 81e30a5412
1 changed files with 2 additions and 0 deletions

View File

@ -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.
*/