arm64: kernel: refactor code to install/uninstall breakpoints
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 13 Aug 2013 09:45:19 +0000 (10:45 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 16 Dec 2013 17:17:33 +0000 (17:17 +0000)
Most of the code executed to install and uninstall breakpoints is
common and can be factored out in a function that through a runtime
operations type provides the requested implementation.

This patch creates a common function that can be used to install/uninstall
breakpoints and defines the set of operations that can be carried out
through it.

Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
arch/arm64/kernel/hw_breakpoint.c

Simple merge