Skip to content
Commit 4eaddb4d authored by Kumar Gala's avatar Kumar Gala
Browse files

[POWERPC] Make Book-E debug handling SMP safe



global_dbcr0 needs to be a per cpu set of save areas instead of a single
global on all processors.

Also, we switch to using DBCR0_IDM to determine if the user space app is
being debugged as its a more consistent way.  In the future we should
support features like hardware breakpoint and watchpoints which will
have DBCR0_IDM set but not necessarily DBCR0_IC (single step).

Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 3dd82a1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment