diff options
Diffstat (limited to 'arch/s390/kernel/compat_wrapper.S')
-rw-r--r-- | arch/s390/kernel/compat_wrapper.S | 144 |
1 files changed, 0 insertions, 144 deletions
diff --git a/arch/s390/kernel/compat_wrapper.S b/arch/s390/kernel/compat_wrapper.S index 9b9a805656b5..c14faf39ae36 100644 --- a/arch/s390/kernel/compat_wrapper.S +++ b/arch/s390/kernel/compat_wrapper.S | |||
@@ -24,12 +24,6 @@ ENTRY(sys32_write_wrapper) | |||
24 | llgfr %r4,%r4 # size_t | 24 | llgfr %r4,%r4 # size_t |
25 | jg sys32_write # branch to system call | 25 | jg sys32_write # branch to system call |
26 | 26 | ||
27 | ENTRY(sys32_open_wrapper) | ||
28 | llgtr %r2,%r2 # const char * | ||
29 | lgfr %r3,%r3 # int | ||
30 | lgfr %r4,%r4 # int | ||
31 | jg compat_sys_open # branch to system call | ||
32 | |||
33 | ENTRY(sys32_close_wrapper) | 27 | ENTRY(sys32_close_wrapper) |
34 | llgfr %r2,%r2 # unsigned int | 28 | llgfr %r2,%r2 # unsigned int |
35 | jg sys_close # branch to system call | 29 | jg sys_close # branch to system call |
@@ -226,12 +220,6 @@ ENTRY(sys32_dup2_wrapper) | |||
226 | 220 | ||
227 | #sys32_setsid_wrapper # void | 221 | #sys32_setsid_wrapper # void |
228 | 222 | ||
229 | ENTRY(sys32_sigaction_wrapper) | ||
230 | lgfr %r2,%r2 # int | ||
231 | llgtr %r3,%r3 # const struct old_sigaction * | ||
232 | llgtr %r4,%r4 # struct old_sigaction32 * | ||
233 | jg sys32_sigaction # branch to system call | ||
234 | |||
235 | ENTRY(sys32_setreuid16_wrapper) | 223 | ENTRY(sys32_setreuid16_wrapper) |
236 | llgfr %r2,%r2 # __kernel_old_uid_emu31_t | 224 | llgfr %r2,%r2 # __kernel_old_uid_emu31_t |
237 | llgfr %r3,%r3 # __kernel_old_uid_emu31_t | 225 | llgfr %r3,%r3 # __kernel_old_uid_emu31_t |
@@ -396,17 +384,6 @@ ENTRY(sys32_syslog_wrapper) | |||
396 | lgfr %r4,%r4 # int | 384 | lgfr %r4,%r4 # int |
397 | jg sys_syslog # branch to system call | 385 | jg sys_syslog # branch to system call |
398 | 386 | ||
399 | ENTRY(compat_sys_setitimer_wrapper) | ||
400 | lgfr %r2,%r2 # int | ||
401 | llgtr %r3,%r3 # struct itimerval_emu31 * | ||
402 | llgtr %r4,%r4 # struct itimerval_emu31 * | ||
403 | jg compat_sys_setitimer # branch to system call | ||
404 | |||
405 | ENTRY(compat_sys_getitimer_wrapper) | ||
406 | lgfr %r2,%r2 # int | ||
407 | llgtr %r3,%r3 # struct itimerval_emu31 * | ||
408 | jg compat_sys_getitimer # branch to system call | ||
409 | |||
410 | ENTRY(compat_sys_newstat_wrapper) | 387 | ENTRY(compat_sys_newstat_wrapper) |
411 | llgtr %r2,%r2 # char * | 388 | llgtr %r2,%r2 # char * |
412 | llgtr %r3,%r3 # struct stat_emu31 * | 389 | llgtr %r3,%r3 # struct stat_emu31 * |
@@ -424,13 +401,6 @@ ENTRY(compat_sys_newfstat_wrapper) | |||
424 | 401 | ||
425 | #sys32_vhangup_wrapper # void | 402 | #sys32_vhangup_wrapper # void |
426 | 403 | ||
427 | ENTRY(compat_sys_wait4_wrapper) | ||
428 | lgfr %r2,%r2 # pid_t | ||
429 | llgtr %r3,%r3 # unsigned int * | ||
430 | lgfr %r4,%r4 # int | ||
431 | llgtr %r5,%r5 # struct rusage * | ||
432 | jg compat_sys_wait4 # branch to system call | ||
433 | |||
434 | ENTRY(sys32_swapoff_wrapper) | 404 | ENTRY(sys32_swapoff_wrapper) |
435 | llgtr %r2,%r2 # const char * | 405 | llgtr %r2,%r2 # const char * |
436 | jg sys_swapoff # branch to system call | 406 | jg sys_swapoff # branch to system call |
@@ -474,12 +444,6 @@ ENTRY(sys32_mprotect_wrapper) | |||
474 | llgfr %r4,%r4 # unsigned long | 444 | llgfr %r4,%r4 # unsigned long |
475 | jg sys_mprotect # branch to system call | 445 | jg sys_mprotect # branch to system call |
476 | 446 | ||
477 | ENTRY(compat_sys_sigprocmask_wrapper) | ||
478 | lgfr %r2,%r2 # int | ||
479 | llgtr %r3,%r3 # compat_old_sigset_t * | ||
480 | llgtr %r4,%r4 # compat_old_sigset_t * | ||
481 | jg compat_sys_sigprocmask # branch to system call | ||
482 | |||
483 | ENTRY(sys_init_module_wrapper) | 447 | ENTRY(sys_init_module_wrapper) |
484 | llgtr %r2,%r2 # void * | 448 | llgtr %r2,%r2 # void * |
485 | llgfr %r3,%r3 # unsigned long | 449 | llgfr %r3,%r3 # unsigned long |
@@ -628,11 +592,6 @@ ENTRY(sys32_sched_get_priority_min_wrapper) | |||
628 | lgfr %r2,%r2 # int | 592 | lgfr %r2,%r2 # int |
629 | jg sys_sched_get_priority_min # branch to system call | 593 | jg sys_sched_get_priority_min # branch to system call |
630 | 594 | ||
631 | ENTRY(sys32_sched_rr_get_interval_wrapper) | ||
632 | lgfr %r2,%r2 # pid_t | ||
633 | llgtr %r3,%r3 # struct compat_timespec * | ||
634 | jg sys32_sched_rr_get_interval # branch to system call | ||
635 | |||
636 | ENTRY(compat_sys_nanosleep_wrapper) | 595 | ENTRY(compat_sys_nanosleep_wrapper) |
637 | llgtr %r2,%r2 # struct compat_timespec * | 596 | llgtr %r2,%r2 # struct compat_timespec * |
638 | llgtr %r3,%r3 # struct compat_timespec * | 597 | llgtr %r3,%r3 # struct compat_timespec * |
@@ -686,43 +645,6 @@ ENTRY(sys32_prctl_wrapper) | |||
686 | 645 | ||
687 | #sys32_rt_sigreturn_wrapper # done in rt_sigreturn_glue | 646 | #sys32_rt_sigreturn_wrapper # done in rt_sigreturn_glue |
688 | 647 | ||
689 | ENTRY(sys32_rt_sigaction_wrapper) | ||
690 | lgfr %r2,%r2 # int | ||
691 | llgtr %r3,%r3 # const struct sigaction_emu31 * | ||
692 | llgtr %r4,%r4 # const struct sigaction_emu31 * | ||
693 | llgfr %r5,%r5 # size_t | ||
694 | jg sys32_rt_sigaction # branch to system call | ||
695 | |||
696 | ENTRY(sys32_rt_sigprocmask_wrapper) | ||
697 | lgfr %r2,%r2 # int | ||
698 | llgtr %r3,%r3 # old_sigset_emu31 * | ||
699 | llgtr %r4,%r4 # old_sigset_emu31 * | ||
700 | llgfr %r5,%r5 # size_t | ||
701 | jg sys32_rt_sigprocmask # branch to system call | ||
702 | |||
703 | ENTRY(sys32_rt_sigpending_wrapper) | ||
704 | llgtr %r2,%r2 # sigset_emu31 * | ||
705 | llgfr %r3,%r3 # size_t | ||
706 | jg sys32_rt_sigpending # branch to system call | ||
707 | |||
708 | ENTRY(compat_sys_rt_sigtimedwait_wrapper) | ||
709 | llgtr %r2,%r2 # const sigset_emu31_t * | ||
710 | llgtr %r3,%r3 # siginfo_emu31_t * | ||
711 | llgtr %r4,%r4 # const struct compat_timespec * | ||
712 | llgfr %r5,%r5 # size_t | ||
713 | jg compat_sys_rt_sigtimedwait # branch to system call | ||
714 | |||
715 | ENTRY(sys32_rt_sigqueueinfo_wrapper) | ||
716 | lgfr %r2,%r2 # int | ||
717 | lgfr %r3,%r3 # int | ||
718 | llgtr %r4,%r4 # siginfo_emu31_t * | ||
719 | jg sys32_rt_sigqueueinfo # branch to system call | ||
720 | |||
721 | ENTRY(compat_sys_rt_sigsuspend_wrapper) | ||
722 | llgtr %r2,%r2 # compat_sigset_t * | ||
723 | llgfr %r3,%r3 # compat_size_t | ||
724 | jg compat_sys_rt_sigsuspend | ||
725 | |||
726 | ENTRY(sys32_pread64_wrapper) | 648 | ENTRY(sys32_pread64_wrapper) |
727 | llgfr %r2,%r2 # unsigned int | 649 | llgfr %r2,%r2 # unsigned int |
728 | llgtr %r3,%r3 # char * | 650 | llgtr %r3,%r3 # char * |
@@ -760,11 +682,6 @@ ENTRY(sys32_capset_wrapper) | |||
760 | llgtr %r3,%r3 # const cap_user_data_t | 682 | llgtr %r3,%r3 # const cap_user_data_t |
761 | jg sys_capset # branch to system call | 683 | jg sys_capset # branch to system call |
762 | 684 | ||
763 | ENTRY(sys32_sigaltstack_wrapper) | ||
764 | llgtr %r2,%r2 # const stack_emu31_t * | ||
765 | llgtr %r3,%r3 # stack_emu31_t * | ||
766 | jg sys32_sigaltstack | ||
767 | |||
768 | ENTRY(sys32_sendfile_wrapper) | 685 | ENTRY(sys32_sendfile_wrapper) |
769 | lgfr %r2,%r2 # int | 686 | lgfr %r2,%r2 # int |
770 | lgfr %r3,%r3 # int | 687 | lgfr %r3,%r3 # int |
@@ -921,16 +838,6 @@ ENTRY(sys32_fstat64_wrapper) | |||
921 | llgtr %r3,%r3 # struct stat64 * | 838 | llgtr %r3,%r3 # struct stat64 * |
922 | jg sys32_fstat64 # branch to system call | 839 | jg sys32_fstat64 # branch to system call |
923 | 840 | ||
924 | ENTRY(compat_sys_futex_wrapper) | ||
925 | llgtr %r2,%r2 # u32 * | ||
926 | lgfr %r3,%r3 # int | ||
927 | lgfr %r4,%r4 # int | ||
928 | llgtr %r5,%r5 # struct compat_timespec * | ||
929 | llgtr %r6,%r6 # u32 * | ||
930 | lgf %r0,164(%r15) # int | ||
931 | stg %r0,160(%r15) | ||
932 | jg compat_sys_futex # branch to system call | ||
933 | |||
934 | ENTRY(sys32_setxattr_wrapper) | 841 | ENTRY(sys32_setxattr_wrapper) |
935 | llgtr %r2,%r2 # char * | 842 | llgtr %r2,%r2 # char * |
936 | llgtr %r3,%r3 # char * | 843 | llgtr %r3,%r3 # char * |
@@ -1216,14 +1123,6 @@ ENTRY(sys32_remap_file_pages_wrapper) | |||
1216 | llgfr %r6,%r6 # unsigned long | 1123 | llgfr %r6,%r6 # unsigned long |
1217 | jg sys_remap_file_pages | 1124 | jg sys_remap_file_pages |
1218 | 1125 | ||
1219 | ENTRY(compat_sys_waitid_wrapper) | ||
1220 | lgfr %r2,%r2 # int | ||
1221 | lgfr %r3,%r3 # pid_t | ||
1222 | llgtr %r4,%r4 # siginfo_emu31_t * | ||
1223 | lgfr %r5,%r5 # int | ||
1224 | llgtr %r6,%r6 # struct rusage_emu31 * | ||
1225 | jg compat_sys_waitid | ||
1226 | |||
1227 | ENTRY(compat_sys_kexec_load_wrapper) | 1126 | ENTRY(compat_sys_kexec_load_wrapper) |
1228 | llgfr %r2,%r2 # unsigned long | 1127 | llgfr %r2,%r2 # unsigned long |
1229 | llgfr %r3,%r3 # unsigned long | 1128 | llgfr %r3,%r3 # unsigned long |
@@ -1253,13 +1152,6 @@ ENTRY(sys_inotify_rm_watch_wrapper) | |||
1253 | llgfr %r3,%r3 # u32 | 1152 | llgfr %r3,%r3 # u32 |
1254 | jg sys_inotify_rm_watch | 1153 | jg sys_inotify_rm_watch |
1255 | 1154 | ||
1256 | ENTRY(compat_sys_openat_wrapper) | ||
1257 | llgfr %r2,%r2 # unsigned int | ||
1258 | llgtr %r3,%r3 # const char * | ||
1259 | lgfr %r4,%r4 # int | ||
1260 | lgfr %r5,%r5 # int | ||
1261 | jg compat_sys_openat | ||
1262 | |||
1263 | ENTRY(sys_mkdirat_wrapper) | 1155 | ENTRY(sys_mkdirat_wrapper) |
1264 | lgfr %r2,%r2 # int | 1156 | lgfr %r2,%r2 # int |
1265 | llgtr %r3,%r3 # const char * | 1157 | llgtr %r3,%r3 # const char * |
@@ -1362,17 +1254,6 @@ ENTRY(sys_unshare_wrapper) | |||
1362 | llgfr %r2,%r2 # unsigned long | 1254 | llgfr %r2,%r2 # unsigned long |
1363 | jg sys_unshare | 1255 | jg sys_unshare |
1364 | 1256 | ||
1365 | ENTRY(compat_sys_set_robust_list_wrapper) | ||
1366 | llgtr %r2,%r2 # struct compat_robust_list_head * | ||
1367 | llgfr %r3,%r3 # size_t | ||
1368 | jg compat_sys_set_robust_list | ||
1369 | |||
1370 | ENTRY(compat_sys_get_robust_list_wrapper) | ||
1371 | lgfr %r2,%r2 # int | ||
1372 | llgtr %r3,%r3 # compat_uptr_t_t * | ||
1373 | llgtr %r4,%r4 # compat_size_t * | ||
1374 | jg compat_sys_get_robust_list | ||
1375 | |||
1376 | ENTRY(sys_splice_wrapper) | 1257 | ENTRY(sys_splice_wrapper) |
1377 | lgfr %r2,%r2 # int | 1258 | lgfr %r2,%r2 # int |
1378 | llgtr %r3,%r3 # loff_t * | 1259 | llgtr %r3,%r3 # loff_t * |
@@ -1458,18 +1339,6 @@ ENTRY(sys_timerfd_create_wrapper) | |||
1458 | lgfr %r3,%r3 # int | 1339 | lgfr %r3,%r3 # int |
1459 | jg sys_timerfd_create | 1340 | jg sys_timerfd_create |
1460 | 1341 | ||
1461 | ENTRY(compat_sys_timerfd_settime_wrapper) | ||
1462 | lgfr %r2,%r2 # int | ||
1463 | lgfr %r3,%r3 # int | ||
1464 | llgtr %r4,%r4 # struct compat_itimerspec * | ||
1465 | llgtr %r5,%r5 # struct compat_itimerspec * | ||
1466 | jg compat_sys_timerfd_settime | ||
1467 | |||
1468 | ENTRY(compat_sys_timerfd_gettime_wrapper) | ||
1469 | lgfr %r2,%r2 # int | ||
1470 | llgtr %r3,%r3 # struct compat_itimerspec * | ||
1471 | jg compat_sys_timerfd_gettime | ||
1472 | |||
1473 | ENTRY(compat_sys_signalfd4_wrapper) | 1342 | ENTRY(compat_sys_signalfd4_wrapper) |
1474 | lgfr %r2,%r2 # int | 1343 | lgfr %r2,%r2 # int |
1475 | llgtr %r3,%r3 # compat_sigset_t * | 1344 | llgtr %r3,%r3 # compat_sigset_t * |
@@ -1550,13 +1419,6 @@ ENTRY(compat_sys_pwritev_wrapper) | |||
1550 | llgfr %r6,%r6 # u32 | 1419 | llgfr %r6,%r6 # u32 |
1551 | jg compat_sys_pwritev # branch to system call | 1420 | jg compat_sys_pwritev # branch to system call |
1552 | 1421 | ||
1553 | ENTRY(compat_sys_rt_tgsigqueueinfo_wrapper) | ||
1554 | lgfr %r2,%r2 # compat_pid_t | ||
1555 | lgfr %r3,%r3 # compat_pid_t | ||
1556 | lgfr %r4,%r4 # int | ||
1557 | llgtr %r5,%r5 # struct compat_siginfo * | ||
1558 | jg compat_sys_rt_tgsigqueueinfo_wrapper # branch to system call | ||
1559 | |||
1560 | ENTRY(sys_perf_event_open_wrapper) | 1422 | ENTRY(sys_perf_event_open_wrapper) |
1561 | llgtr %r2,%r2 # const struct perf_event_attr * | 1423 | llgtr %r2,%r2 # const struct perf_event_attr * |
1562 | lgfr %r3,%r3 # pid_t | 1424 | lgfr %r3,%r3 # pid_t |
@@ -1607,12 +1469,6 @@ ENTRY(sys_name_to_handle_at_wrapper) | |||
1607 | lgfr %r6,%r6 # int | 1469 | lgfr %r6,%r6 # int |
1608 | jg sys_name_to_handle_at | 1470 | jg sys_name_to_handle_at |
1609 | 1471 | ||
1610 | ENTRY(compat_sys_open_by_handle_at_wrapper) | ||
1611 | lgfr %r2,%r2 # int | ||
1612 | llgtr %r3,%r3 # struct file_handle __user * | ||
1613 | lgfr %r4,%r4 # int | ||
1614 | jg compat_sys_open_by_handle_at | ||
1615 | |||
1616 | ENTRY(compat_sys_clock_adjtime_wrapper) | 1472 | ENTRY(compat_sys_clock_adjtime_wrapper) |
1617 | lgfr %r2,%r2 # clockid_t (int) | 1473 | lgfr %r2,%r2 # clockid_t (int) |
1618 | llgtr %r3,%r3 # struct compat_timex __user * | 1474 | llgtr %r3,%r3 # struct compat_timex __user * |