Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67634
b: refs/heads/master
c: 53a0868
h: refs/heads/master
v: v3
  • Loading branch information
Michael Holzheu authored and Martin Schwidefsky committed Oct 12, 2007
1 parent a657be5 commit 7c8e78d
Show file tree
Hide file tree
Showing 2 changed files with 5 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: cebe0fe70fbf033a1a6b7c5c8b79eb13060a4ab7
refs/heads/master: 53a0868cb4d77dcba8e95e1033361ffdb6e510e2
7 changes: 4 additions & 3 deletions trunk/drivers/s390/char/zcore.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,16 @@ static int memcpy_real(void *dest, unsigned long src, size_t count)

if (count == 0)
return 0;
flags = __raw_local_irq_stnsm(0xf8); /* switch to real mode */
flags = __raw_local_irq_stnsm(0xf8UL); /* switch to real mode */
asm volatile (
"0: mvcle %1,%2,0x0\n"
"1: jo 0b\n"
" lhi %0,0x0\n"
"2:\n"
EX_TABLE(1b,2b)
: "+d" (rc)
: "d" (_dest), "d" (_src), "d" (_len1), "d" (_len2)
: "+d" (rc), "+d" (_dest), "+d" (_src), "+d" (_len1),
"+d" (_len2), "=m" (*((long*)dest))
: "m" (*((long*)src))
: "cc", "memory");
__raw_local_irq_ssm(flags);

Expand Down

0 comments on commit 7c8e78d

Please sign in to comment.