Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339543
b: refs/heads/master
c: 7f4050a
h: refs/heads/master
i:
  339541: faa60c3
  339539: db6ca85
  339535: 2ac2e61
v: v3
  • Loading branch information
Will Deacon committed Nov 9, 2012
1 parent 8fd2e81 commit 5f548c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 614bea500a88be2a841af0967469961470f2be83
refs/heads/master: 7f4050a07be8ce5fad069722326ccd550577a93a
6 changes: 3 additions & 3 deletions trunk/arch/arm/kernel/hw_breakpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -912,8 +912,8 @@ static void reset_ctrl_regs(void *unused)
switch (debug_arch) {
case ARM_DEBUG_ARCH_V6:
case ARM_DEBUG_ARCH_V6_1:
/* ARMv6 cores just need to reset the registers. */
goto reset_regs;
/* ARMv6 cores clear the registers out of reset. */
goto out_mdbgen;
case ARM_DEBUG_ARCH_V7_ECP14:
/*
* Ensure sticky power-down is clear (i.e. debug logic is
Expand Down Expand Up @@ -966,7 +966,6 @@ static void reset_ctrl_regs(void *unused)
return;
}

reset_regs:
/*
* The control/value register pairs are UNKNOWN out of reset so
* clear them to avoid spurious debug events.
Expand All @@ -991,6 +990,7 @@ static void reset_ctrl_regs(void *unused)
* Have a crack at enabling monitor mode. We don't actually need
* it yet, but reporting an error early is useful if it fails.
*/
out_mdbgen:
if (enable_monitor_mode())
cpumask_or(&debug_err_mask, &debug_err_mask, cpumask_of(cpu));
}
Expand Down

0 comments on commit 5f548c9

Please sign in to comment.