Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187793
b: refs/heads/master
c: 856f70a
h: refs/heads/master
i:
  187791: cc03e1f
v: v3
  • Loading branch information
Dave Kleikamp authored and Benjamin Herrenschmidt committed Mar 9, 2010
1 parent 4edf070 commit 6ae9610
Show file tree
Hide file tree
Showing 3 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: 5b72d74ce2fccca2a301de60f31b16ddf5c93984
refs/heads/master: 856f70a368022645a08fbecc5d30ec218f13232d
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/include/asm/reg_booke.h
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,8 @@
/* Bit definitions related to the DBCR2. */
#define DBCR2_DAC1US 0xC0000000 /* Data Addr Cmp 1 Sup/User */
#define DBCR2_DAC1ER 0x30000000 /* Data Addr Cmp 1 Eff/Real */
#define DBCR2_DAC2US 0x00000000 /* Data Addr Cmp 2 Sup/User */
#define DBCR2_DAC2ER 0x00000000 /* Data Addr Cmp 2 Eff/Real */
#define DBCR2_DAC2US 0x0C000000 /* Data Addr Cmp 2 Sup/User */
#define DBCR2_DAC2ER 0x03000000 /* Data Addr Cmp 2 Eff/Real */
#define DBCR2_DAC12M 0x00800000 /* DAC 1-2 range enable */
#define DBCR2_DAC12MM 0x00400000 /* DAC 1-2 Mask mode*/
#define DBCR2_DAC12MX 0x00C00000 /* DAC 1-2 range eXclusive */
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ static int del_dac(struct task_struct *child, int slot)
child->thread.dvc1 = 0;
#endif
} else if (slot == 2) {
if (child->thread.dac1 == 0)
if (child->thread.dac2 == 0)
return -ENOENT;

#ifdef CONFIG_PPC_ADV_DEBUG_DAC_RANGE
Expand Down

0 comments on commit 6ae9610

Please sign in to comment.