Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74123
b: refs/heads/master
c: a961d65
h: refs/heads/master
i:
  74121: 9982c79
  74119: d18fec9
v: v3
  • Loading branch information
Jie Zhang authored and Bryan Wu committed Nov 17, 2007
1 parent d36e3c4 commit e879a83
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: 561cc18b8696fd41367544f45542c096fa08d878
refs/heads/master: a961d659637b7d77c916597017e2e3730859c333
8 changes: 4 additions & 4 deletions trunk/include/asm-blackfin/mach-common/def_LPBlackfin.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#endif

#define bfin_read8(addr) ({ \
uint8_t __v; \
uint32_t __v; \
__asm__ __volatile__( \
NOP_PAD_ANOMALY_05000198 \
"%0 = b[%1] (z);" \
Expand All @@ -56,7 +56,7 @@
__v; })

#define bfin_read16(addr) ({ \
uint16_t __v; \
uint32_t __v; \
__asm__ __volatile__( \
NOP_PAD_ANOMALY_05000198 \
"%0 = w[%1] (z);" \
Expand All @@ -80,7 +80,7 @@
NOP_PAD_ANOMALY_05000198 \
"b[%0] = %1;" \
: \
: "a" (addr), "d" (val) \
: "a" (addr), "d" ((uint8_t)(val)) \
: "memory" \
)

Expand All @@ -89,7 +89,7 @@
NOP_PAD_ANOMALY_05000198 \
"w[%0] = %1;" \
: \
: "a" (addr), "d" (val) \
: "a" (addr), "d" ((uint16_t)(val)) \
: "memory" \
)

Expand Down

0 comments on commit e879a83

Please sign in to comment.