Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57872
b: refs/heads/master
c: dc74d7f
h: refs/heads/master
v: v3
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Jun 19, 2007
1 parent 8005e1a commit 72e936c
Show file tree
Hide file tree
Showing 3 changed files with 7 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: bca0fb8683b7406d3056dc53a14b0a482c367e2b
refs/heads/master: dc74d7f996b465d8a95033c753d34c8b4c01c9d7
5 changes: 5 additions & 0 deletions trunk/include/asm-s390/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,11 @@ static inline void cpu_relax(void)
barrier();
}

static inline void psw_set_key(unsigned int key)
{
asm volatile("spka 0(%0)" : : "d" (key));
}

/*
* Set PSW to specified value.
*/
Expand Down
9 changes: 1 addition & 8 deletions trunk/include/asm-s390/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -470,14 +470,7 @@ struct user_regs_struct
#define regs_return_value(regs)((regs)->gprs[2])
#define profile_pc(regs) instruction_pointer(regs)
extern void show_regs(struct pt_regs * regs);
#endif

static inline void
psw_set_key(unsigned int key)
{
asm volatile("spka 0(%0)" : : "d" (key));
}

#endif /* __KERNEL__ */
#endif /* __ASSEMBLY__ */

#endif /* _S390_PTRACE_H */

0 comments on commit 72e936c

Please sign in to comment.