Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356124
b: refs/heads/master
c: bf4ec24
h: refs/heads/master
v: v3
  • Loading branch information
Sebastian Ott authored and Martin Schwidefsky committed Feb 14, 2013
1 parent efcc2e5 commit 5d0becd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 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: 151a0eb6c8e4398f76453c791d8fd8f8167a7517
refs/heads/master: bf4ec24ff8ab54d56c835eb61212a1e87270d7c8
11 changes: 6 additions & 5 deletions trunk/arch/s390/pci/pci_clp.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,19 @@
* Call Logical Processor
* Retry logic is handled by the caller.
*/
static inline u8 clp_instr(void *req)
static inline u8 clp_instr(void *data)
{
u64 ilpm;
struct { u8 _[CLP_BLK_SIZE]; } *req = data;
u64 ignored;
u8 cc;

asm volatile (
" .insn rrf,0xb9a00000,%[ilpm],%[req],0x0,0x2\n"
" .insn rrf,0xb9a00000,%[ign],%[req],0x0,0x2\n"
" ipm %[cc]\n"
" srl %[cc],28\n"
: [cc] "=d" (cc), [ilpm] "=d" (ilpm)
: [cc] "=d" (cc), [ign] "=d" (ignored), "+m" (*req)
: [req] "a" (req)
: "cc", "memory");
: "cc");
return cc;
}

Expand Down

0 comments on commit 5d0becd

Please sign in to comment.