Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108923
b: refs/heads/master
c: 9b9d6b2
h: refs/heads/master
i:
  108921: 3a12795
  108919: 98e9b24
v: v3
  • Loading branch information
Takashi YOSHII authored and Paul Mundt committed Aug 11, 2008
1 parent 2112b38 commit 9928b4d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 74c27c43ebd020fcb65364613503f6c08dc6f535
refs/heads/master: 9b9d6b2a4f6df5544a10de44760755fe757259e5
7 changes: 7 additions & 0 deletions trunk/arch/sh/include/asm/flat.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,11 @@
#define flat_get_relocate_addr(rel) (rel)
#define flat_set_persistent(relval, p) ({ (void)p; 0; })

#define FLAT_PLAT_INIT(_r) \
do { _r->regs[0]=0; _r->regs[1]=0; _r->regs[2]=0; _r->regs[3]=0; \
_r->regs[4]=0; _r->regs[5]=0; _r->regs[6]=0; _r->regs[7]=0; \
_r->regs[8]=0; _r->regs[9]=0; _r->regs[10]=0; _r->regs[11]=0; \
_r->regs[12]=0; _r->regs[13]=0; _r->regs[14]=0; \
_r->sr = SR_FD; } while (0)

#endif /* __ASM_SH_FLAT_H */

0 comments on commit 9928b4d

Please sign in to comment.