Skip to content

Commit

Permalink
powerpc/ptrace: Add missing <linux/regset.h> include
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Russell Currey <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
  • Loading branch information
BenjaminGrayNp1 authored and mpe committed Jun 19, 2023
1 parent 7eec97b commit 81e30a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/powerpc/kernel/ptrace/ptrace-decl.h
Original file line number Diff line number Diff line change
@@ -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.
*/
Expand Down

0 comments on commit 81e30a5

Please sign in to comment.