]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc/ptrace: Add missing <linux/regset.h> include
authorBenjamin Gray <bgray@linux.ibm.com>
Mon, 19 Jun 2023 07:36:25 +0000 (17:36 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 19 Jun 2023 07:36:25 +0000 (17:36 +1000)
commit81e30a5412e4bcdc9d338ffa0cf1f4b90bc63abc
tree65ea8ee37d2d86b644bb9328ff470d86df0d71d6
parent7eec97b32e0b62f54b7f6afb5df189806b1bb87b
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
arch/powerpc/kernel/ptrace/ptrace-decl.h