Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149637
b: refs/heads/master
c: da6b43c
h: refs/heads/master
i:
  149635: 71daea7
v: v3
  • Loading branch information
Michael Neuling authored and Benjamin Herrenschmidt committed May 21, 2009
1 parent 9dad89d commit 7c79033
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: d89ebca2248ab03a5928e7dd30b6c304283fc207
refs/heads/master: da6b43c833f885d8604aee7f9711bb457a40d863
8 changes: 4 additions & 4 deletions trunk/arch/powerpc/include/asm/ppc-opcode.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@
#define PPC_INST_WAIT 0x7c00007c

/* macros to insert fields into opcodes */
#define __PPC_RA(a) ((a & 0x1f) << 16)
#define __PPC_RB(b) ((b & 0x1f) << 11)
#define __PPC_T_TLB(t) ((t & 0x3) << 21)
#define __PPC_WC(w) ((w & 0x3) << 21)
#define __PPC_RA(a) (((a) & 0x1f) << 16)
#define __PPC_RB(b) (((b) & 0x1f) << 11)
#define __PPC_T_TLB(t) (((t) & 0x3) << 21)
#define __PPC_WC(w) (((w) & 0x3) << 21)

/* Deal with instructions that older assemblers aren't aware of */
#define PPC_DCBAL(a, b) stringify_in_c(.long PPC_INST_DCBAL | \
Expand Down

0 comments on commit 7c79033

Please sign in to comment.