Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19447
b: refs/heads/master
c: 46d0d2c
h: refs/heads/master
i:
  19445: 6bc8a42
  19443: 77a52c8
  19439: e57bd87
v: v3
  • Loading branch information
Peter Oberparleiter authored and Linus Torvalds committed Feb 1, 2006
1 parent 5737bd2 commit 56f97bd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 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: b1969fa46d95efcdb0b84c540eca10db99665148
refs/heads/master: 46d0d2c811c8e9dd5cffdc3a5c03d988eb5a2996
17 changes: 9 additions & 8 deletions trunk/drivers/s390/s390mach.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,16 @@ struct crw {

static inline int stcrw(struct crw *pcrw )
{
int ccode;
int ccode;

__asm__ __volatile__(
"STCRW 0(%1)\n\t"
"IPM %0\n\t"
"SRL %0,28\n\t"
: "=d" (ccode) : "a" (pcrw)
: "cc", "1" );
return ccode;
__asm__ __volatile__(
"stcrw 0(%2)\n\t"
"ipm %0\n\t"
"srl %0,28\n\t"
: "=d" (ccode), "=m" (*pcrw)
: "a" (pcrw)
: "cc" );
return ccode;
}

#endif /* __s390mach */

0 comments on commit 56f97bd

Please sign in to comment.