powerpc/inst: Move ppc_inst_t definition in asm/reg.h
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 29 Nov 2021 17:49:40 +0000 (18:49 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 9 Dec 2021 11:41:21 +0000 (22:41 +1100)
commit9b307576f37136d37d5e42b1d8713ec34a601a62
treee5a3e37382a1d11ae4d2aaaad0678a56a3d3c16f
parent07b863aef5b682a482474b524f3df4957d2862ac
powerpc/inst: Move ppc_inst_t definition in asm/reg.h

Because of circular inclusion of asm/hw_breakpoint.h, we
need to move definition of asm/reg.h outside of inst.h
so that asm/hw_breakpoint.h gets it without including
asm/inst.h

Also remove asm/inst.h from asm/uprobes.h as it's not
needed anymore.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/4b79f1491118af96b1ac0735e74aeca02ea4c04e.1638208156.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/hw_breakpoint.h
arch/powerpc/include/asm/inst.h
arch/powerpc/include/asm/reg.h
arch/powerpc/include/asm/uprobes.h