[S390] Move psw_set_key.
[pandora-kernel.git] / include / asm-s390 / processor.h
index e0fcea8..5cb480a 100644 (file)
@@ -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.
  */