]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: debug: Remove redundant user_mode(regs) checks from debug handlers
authorWill Deacon <will.deacon@arm.com>
Tue, 26 Feb 2019 15:37:09 +0000 (15:37 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 9 Apr 2019 10:21:13 +0000 (11:21 +0100)
commit07def62feb633c81725513fc699036e296f41800
treef9e6531415ddea6b10f2cb1c665291a5fabc70db
parent34f76cf5329aa8aeeb8a0defd735402c30a44d9e
arm64: debug: Remove redundant user_mode(regs) checks from debug handlers

Now that the debug hook dispatching code takes the triggering exception
level into account, there's no need for the hooks themselves to poke
around with user_mode(regs).

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/kgdb.c
arch/arm64/kernel/probes/kprobes.c
arch/arm64/kernel/probes/uprobes.c
arch/arm64/kernel/traps.c