]> git.wh0rd.org - patches.git/blame - linux-s390-use-asm-ptrace.patch
scummvm random work
[patches.git] / linux-s390-use-asm-ptrace.patch
CommitLineData
5e993f12 1diff --git a/include/asm-s390/ptrace.h b/include/asm-s390/ptrace.h
2index fa6ca87..4add355 100644
3--- a/include/asm-s390/ptrace.h
4+++ b/include/asm-s390/ptrace.h
5@@ -475,7 +475,7 @@ extern void show_regs(struct pt_regs * regs);
6 static inline void
7 psw_set_key(unsigned int key)
8 {
9- asm volatile("spka 0(%0)" : : "d" (key));
10+ __asm__ __volatile__("spka 0(%0)" : : "d" (key));
11 }
12
13 #endif /* __ASSEMBLY__ */