Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17759
b: refs/heads/master
c: 07a801d
h: refs/heads/master
i:
  17757: de0ba9f
  17755: ae362ac
  17751: d83d516
  17743: 344a5cd
  17727: f6a629e
v: v3
  • Loading branch information
Ralf Baechle authored and unknown committed Jan 10, 2006
1 parent 310fae6 commit 7838c68
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: f12555d24ca636569b51c6f104aab41b2bba8c32
refs/heads/master: 07a801def46f412a7ce6de9553dfd8895bf33356
6 changes: 3 additions & 3 deletions trunk/include/asm-mips/dsp.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <asm/mipsregs.h>

#define DSP_DEFAULT 0x00000000
#define DSP_MASK 0x1f
#define DSP_MASK 0x3ff

#define __enable_dsp_hazard() \
do { \
Expand Down Expand Up @@ -48,7 +48,7 @@ do { \
tsk->thread.dsp.dspr[3] = mflo2(); \
tsk->thread.dsp.dspr[4] = mfhi3(); \
tsk->thread.dsp.dspr[5] = mflo3(); \
tsk->thread.dsp.dspcontrol = rddsp(0x2ff); \
tsk->thread.dsp.dspcontrol = rddsp(DSP_MASK); \
} while (0)

#define save_dsp(tsk) \
Expand All @@ -65,7 +65,7 @@ do { \
mtlo2(tsk->thread.dsp.dspr[3]); \
mthi3(tsk->thread.dsp.dspr[4]); \
mtlo3(tsk->thread.dsp.dspr[5]); \
wrdsp(tsk->thread.dsp.dspcontrol, 0x2ff); \
wrdsp(tsk->thread.dsp.dspcontrol, DSP_MASK); \
} while (0)

#define restore_dsp(tsk) \
Expand Down

0 comments on commit 7838c68

Please sign in to comment.