diff options
author | Michael Neuling <mikey@neuling.org> | 2012-09-06 17:24:57 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-09-09 19:59:13 -0400 |
commit | cd14457304c9d232267a3a76a2a43f1f791e545d (patch) | |
tree | defabdab4b813faf7bcd083f8670020cf799003c /arch/powerpc/include | |
parent | 4474ef055c5d8cb8eaf002d69e49af71e3aa3a88 (diff) |
powerpc: Dynamically calculate the dabrx based on kernel/user/hypervisor
Currently we mark the DABRX to interrupt on all matches
(hypervisor/kernel/user and then filter in software. We can be a lot
smarter now that we can set the DABRX dynamically.
This sets the DABRX based on the flags passed by the user.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/hw_breakpoint.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/hw_breakpoint.h b/arch/powerpc/include/asm/hw_breakpoint.h index c6f48eb5299..423424599da 100644 --- a/arch/powerpc/include/asm/hw_breakpoint.h +++ b/arch/powerpc/include/asm/hw_breakpoint.h | |||
@@ -28,6 +28,7 @@ | |||
28 | 28 | ||
29 | struct arch_hw_breakpoint { | 29 | struct arch_hw_breakpoint { |
30 | unsigned long address; | 30 | unsigned long address; |
31 | unsigned long dabrx; | ||
31 | int type; | 32 | int type; |
32 | u8 len; /* length of the target data symbol */ | 33 | u8 len; /* length of the target data symbol */ |
33 | bool extraneous_interrupt; | 34 | bool extraneous_interrupt; |