ARM: get rid of horrible *(unsigned int *)(regs + 1)
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 13 May 2016 09:26:10 +0000 (10:26 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Wed, 22 Jun 2016 18:55:05 +0000 (19:55 +0100)
commit5fa9da5043a81b9eea5d4522d1371455bf64894a
tree8d34aa442332ab6b7e71d9edf99341db70590e51
parente6a9dc6129d23cd3025e841c4e13a70910a37135
ARM: get rid of horrible *(unsigned int *)(regs + 1)

Get rid of the horrible "*(unsigned int *)(regs + 1)" to get at the
parent context domain access register value, instead using the newly
introduced svc_pt_regs structure.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/ptrace.h
arch/arm/kernel/process.c