diff options
Diffstat (limited to 'include/asm-s390/processor.h')
-rw-r--r-- | include/asm-s390/processor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-s390/processor.h b/include/asm-s390/processor.h index e0fcea8c64c3..5cb480af65d5 100644 --- a/include/asm-s390/processor.h +++ b/include/asm-s390/processor.h | |||
@@ -216,6 +216,11 @@ static inline void cpu_relax(void) | |||
216 | barrier(); | 216 | barrier(); |
217 | } | 217 | } |
218 | 218 | ||
219 | static inline void psw_set_key(unsigned int key) | ||
220 | { | ||
221 | asm volatile("spka 0(%0)" : : "d" (key)); | ||
222 | } | ||
223 | |||
219 | /* | 224 | /* |
220 | * Set PSW to specified value. | 225 | * Set PSW to specified value. |
221 | */ | 226 | */ |