]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Make Book-E debug handling SMP safe
authorKumar Gala <galak@kernel.crashing.org>
Wed, 9 Apr 2008 21:15:40 +0000 (16:15 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 17 Apr 2008 06:01:40 +0000 (01:01 -0500)
commita59ece48e2f985db82aac87c6699d7cba0f97540
treefa7b3d5f464185b8c05fa4defeff98abee5c8a45
parent874b4c4c7a07e617d31c5554a8261af1940e8306
[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: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/entry_32.S