Merge branch 'compat' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
[linux.git] / security / keys / compat.c
index bbd32c729dbb4e019d1461116b84c25107e35ab8..347896548ad3159a152186a4c1a27cdf92f1f4ad 100644 (file)
@@ -65,8 +65,8 @@ no_payload:
  * taking a 32-bit syscall are zero.  If you can, you should call sys_keyctl()
  * directly.
  */
-asmlinkage long compat_sys_keyctl(u32 option,
-                                 u32 arg2, u32 arg3, u32 arg4, u32 arg5)
+COMPAT_SYSCALL_DEFINE5(keyctl, u32, option,
+                      u32, arg2, u32, arg3, u32, arg4, u32, arg5)
 {
        switch (option) {
        case KEYCTL_GET_KEYRING_ID: