ARM: mm: avoid taking ASID spinlock on fastpath
[linux/fpc-iii.git] / arch / s390 / kernel / compat_wrapper.S
blobad79b846535c4d9345e884341f40481e9d38c492
1 /*
2 *    wrapper for 31 bit compatible system calls.
4 *    Copyright IBM Corp. 2000, 2006
5 *    Author(s): Gerhard Tonn (ton@de.ibm.com),
6 *               Thomas Spatzier (tspat@de.ibm.com)
7 */
9 #include <linux/linkage.h>
11 ENTRY(sys32_exit_wrapper)
12         lgfr    %r2,%r2                 # int
13         jg      sys_exit                # branch to sys_exit
15 ENTRY(sys32_read_wrapper)
16         llgfr   %r2,%r2                 # unsigned int
17         llgtr   %r3,%r3                 # char *
18         llgfr   %r4,%r4                 # size_t
19         jg      sys32_read              # branch to sys_read
21 ENTRY(sys32_write_wrapper)
22         llgfr   %r2,%r2                 # unsigned int
23         llgtr   %r3,%r3                 # const char *
24         llgfr   %r4,%r4                 # size_t
25         jg      sys32_write             # branch to system call
27 ENTRY(sys32_open_wrapper)
28         llgtr   %r2,%r2                 # const char *
29         lgfr    %r3,%r3                 # int
30         lgfr    %r4,%r4                 # int
31         jg      sys_open                # branch to system call
33 ENTRY(sys32_close_wrapper)
34         llgfr   %r2,%r2                 # unsigned int
35         jg      sys_close               # branch to system call
37 ENTRY(sys32_creat_wrapper)
38         llgtr   %r2,%r2                 # const char *
39         lgfr    %r3,%r3                 # int
40         jg      sys_creat               # branch to system call
42 ENTRY(sys32_link_wrapper)
43         llgtr   %r2,%r2                 # const char *
44         llgtr   %r3,%r3                 # const char *
45         jg      sys_link                # branch to system call
47 ENTRY(sys32_unlink_wrapper)
48         llgtr   %r2,%r2                 # const char *
49         jg      sys_unlink              # branch to system call
51 ENTRY(sys32_chdir_wrapper)
52         llgtr   %r2,%r2                 # const char *
53         jg      sys_chdir               # branch to system call
55 ENTRY(sys32_time_wrapper)
56         llgtr   %r2,%r2                 # int *
57         jg      compat_sys_time         # branch to system call
59 ENTRY(sys32_mknod_wrapper)
60         llgtr   %r2,%r2                 # const char *
61         lgfr    %r3,%r3                 # int
62         llgfr   %r4,%r4                 # dev
63         jg      sys_mknod               # branch to system call
65 ENTRY(sys32_chmod_wrapper)
66         llgtr   %r2,%r2                 # const char *
67         llgfr   %r3,%r3                 # mode_t
68         jg      sys_chmod               # branch to system call
70 ENTRY(sys32_lchown16_wrapper)
71         llgtr   %r2,%r2                 # const char *
72         llgfr   %r3,%r3                 # __kernel_old_uid_emu31_t
73         llgfr   %r4,%r4                 # __kernel_old_uid_emu31_t
74         jg      sys32_lchown16          # branch to system call
76 ENTRY(sys32_lseek_wrapper)
77         llgfr   %r2,%r2                 # unsigned int
78         lgfr    %r3,%r3                 # off_t
79         llgfr   %r4,%r4                 # unsigned int
80         jg      sys_lseek               # branch to system call
82 #sys32_getpid_wrapper                           # void
84 ENTRY(sys32_mount_wrapper)
85         llgtr   %r2,%r2                 # char *
86         llgtr   %r3,%r3                 # char *
87         llgtr   %r4,%r4                 # char *
88         llgfr   %r5,%r5                 # unsigned long
89         llgtr   %r6,%r6                 # void *
90         jg      compat_sys_mount        # branch to system call
92 ENTRY(sys32_oldumount_wrapper)
93         llgtr   %r2,%r2                 # char *
94         jg      sys_oldumount           # branch to system call
96 ENTRY(sys32_setuid16_wrapper)
97         llgfr   %r2,%r2                 # __kernel_old_uid_emu31_t
98         jg      sys32_setuid16          # branch to system call
100 #sys32_getuid16_wrapper                 # void
102 ENTRY(sys32_ptrace_wrapper)
103         lgfr    %r2,%r2                 # long
104         lgfr    %r3,%r3                 # long
105         llgtr   %r4,%r4                 # long
106         llgfr   %r5,%r5                 # long
107         jg      compat_sys_ptrace       # branch to system call
109 ENTRY(sys32_alarm_wrapper)
110         llgfr   %r2,%r2                 # unsigned int
111         jg      sys_alarm               # branch to system call
113 ENTRY(compat_sys_utime_wrapper)
114         llgtr   %r2,%r2                 # char *
115         llgtr   %r3,%r3                 # struct compat_utimbuf *
116         jg      compat_sys_utime        # branch to system call
118 ENTRY(sys32_access_wrapper)
119         llgtr   %r2,%r2                 # const char *
120         lgfr    %r3,%r3                 # int
121         jg      sys_access              # branch to system call
123 ENTRY(sys32_nice_wrapper)
124         lgfr    %r2,%r2                 # int
125         jg      sys_nice                # branch to system call
127 #sys32_sync_wrapper                     # void
129 ENTRY(sys32_kill_wrapper)
130         lgfr    %r2,%r2                 # int
131         lgfr    %r3,%r3                 # int
132         jg      sys_kill                # branch to system call
134 ENTRY(sys32_rename_wrapper)
135         llgtr   %r2,%r2                 # const char *
136         llgtr   %r3,%r3                 # const char *
137         jg      sys_rename              # branch to system call
139 ENTRY(sys32_mkdir_wrapper)
140         llgtr   %r2,%r2                 # const char *
141         lgfr    %r3,%r3                 # int
142         jg      sys_mkdir               # branch to system call
144 ENTRY(sys32_rmdir_wrapper)
145         llgtr   %r2,%r2                 # const char *
146         jg      sys_rmdir               # branch to system call
148 ENTRY(sys32_dup_wrapper)
149         llgfr   %r2,%r2                 # unsigned int
150         jg      sys_dup                 # branch to system call
152 ENTRY(sys32_pipe_wrapper)
153         llgtr   %r2,%r2                 # u32 *
154         jg      sys_pipe                # branch to system call
156 ENTRY(compat_sys_times_wrapper)
157         llgtr   %r2,%r2                 # struct compat_tms *
158         jg      compat_sys_times        # branch to system call
160 ENTRY(sys32_brk_wrapper)
161         llgtr   %r2,%r2                 # unsigned long
162         jg      sys_brk                 # branch to system call
164 ENTRY(sys32_setgid16_wrapper)
165         llgfr   %r2,%r2                 # __kernel_old_gid_emu31_t
166         jg      sys32_setgid16          # branch to system call
168 #sys32_getgid16_wrapper                 # void
170 ENTRY(sys32_signal_wrapper)
171         lgfr    %r2,%r2                 # int
172         llgtr   %r3,%r3                 # __sighandler_t
173         jg      sys_signal
175 #sys32_geteuid16_wrapper                # void
177 #sys32_getegid16_wrapper                # void
179 ENTRY(sys32_acct_wrapper)
180         llgtr   %r2,%r2                 # char *
181         jg      sys_acct                # branch to system call
183 ENTRY(sys32_umount_wrapper)
184         llgtr   %r2,%r2                 # char *
185         lgfr    %r3,%r3                 # int
186         jg      sys_umount              # branch to system call
188 ENTRY(compat_sys_ioctl_wrapper)
189         llgfr   %r2,%r2                 # unsigned int
190         llgfr   %r3,%r3                 # unsigned int
191         llgfr   %r4,%r4                 # unsigned int
192         jg      compat_sys_ioctl        # branch to system call
194 ENTRY(compat_sys_fcntl_wrapper)
195         llgfr   %r2,%r2                 # unsigned int
196         llgfr   %r3,%r3                 # unsigned int
197         llgfr   %r4,%r4                 # unsigned long
198         jg      compat_sys_fcntl        # branch to system call
200 ENTRY(sys32_setpgid_wrapper)
201         lgfr    %r2,%r2                 # pid_t
202         lgfr    %r3,%r3                 # pid_t
203         jg      sys_setpgid             # branch to system call
205 ENTRY(sys32_umask_wrapper)
206         lgfr    %r2,%r2                 # int
207         jg      sys_umask               # branch to system call
209 ENTRY(sys32_chroot_wrapper)
210         llgtr   %r2,%r2                 # char *
211         jg      sys_chroot              # branch to system call
213 ENTRY(sys32_ustat_wrapper)
214         llgfr   %r2,%r2                 # dev_t
215         llgtr   %r3,%r3                 # struct ustat *
216         jg      compat_sys_ustat
218 ENTRY(sys32_dup2_wrapper)
219         llgfr   %r2,%r2                 # unsigned int
220         llgfr   %r3,%r3                 # unsigned int
221         jg      sys_dup2                # branch to system call
223 #sys32_getppid_wrapper                  # void
225 #sys32_getpgrp_wrapper                  # void
227 #sys32_setsid_wrapper                   # void
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
235 ENTRY(sys32_setreuid16_wrapper)
236         llgfr   %r2,%r2                 # __kernel_old_uid_emu31_t
237         llgfr   %r3,%r3                 # __kernel_old_uid_emu31_t
238         jg      sys32_setreuid16        # branch to system call
240 ENTRY(sys32_setregid16_wrapper)
241         llgfr   %r2,%r2                 # __kernel_old_gid_emu31_t
242         llgfr   %r3,%r3                 # __kernel_old_gid_emu31_t
243         jg      sys32_setregid16        # branch to system call
245 ENTRY(sys_sigsuspend_wrapper)
246         lgfr    %r2,%r2                 # int
247         lgfr    %r3,%r3                 # int
248         llgfr   %r4,%r4                 # old_sigset_t
249         jg      sys_sigsuspend
251 ENTRY(compat_sys_sigpending_wrapper)
252         llgtr   %r2,%r2                 # compat_old_sigset_t *
253         jg      compat_sys_sigpending   # branch to system call
255 ENTRY(sys32_sethostname_wrapper)
256         llgtr   %r2,%r2                 # char *
257         lgfr    %r3,%r3                 # int
258         jg      sys_sethostname         # branch to system call
260 ENTRY(compat_sys_setrlimit_wrapper)
261         llgfr   %r2,%r2                 # unsigned int
262         llgtr   %r3,%r3                 # struct rlimit_emu31 *
263         jg      compat_sys_setrlimit    # branch to system call
265 ENTRY(compat_sys_old_getrlimit_wrapper)
266         llgfr   %r2,%r2                 # unsigned int
267         llgtr   %r3,%r3                 # struct rlimit_emu31 *
268         jg      compat_sys_old_getrlimit # branch to system call
270 ENTRY(compat_sys_getrlimit_wrapper)
271         llgfr   %r2,%r2                 # unsigned int
272         llgtr   %r3,%r3                 # struct rlimit_emu31 *
273         jg      compat_sys_getrlimit    # branch to system call
275 ENTRY(sys32_mmap2_wrapper)
276         llgtr   %r2,%r2                 # struct mmap_arg_struct_emu31 *
277         jg      sys32_mmap2                     # branch to system call
279 ENTRY(compat_sys_getrusage_wrapper)
280         lgfr    %r2,%r2                 # int
281         llgtr   %r3,%r3                 # struct rusage_emu31 *
282         jg      compat_sys_getrusage    # branch to system call
284 ENTRY(compat_sys_gettimeofday_wrapper)
285         llgtr   %r2,%r2                 # struct timeval_emu31 *
286         llgtr   %r3,%r3                 # struct timezone *
287         jg      compat_sys_gettimeofday # branch to system call
289 ENTRY(compat_sys_settimeofday_wrapper)
290         llgtr   %r2,%r2                 # struct timeval_emu31 *
291         llgtr   %r3,%r3                 # struct timezone *
292         jg      compat_sys_settimeofday # branch to system call
294 ENTRY(sys32_getgroups16_wrapper)
295         lgfr    %r2,%r2                 # int
296         llgtr   %r3,%r3                 # __kernel_old_gid_emu31_t *
297         jg      sys32_getgroups16       # branch to system call
299 ENTRY(sys32_setgroups16_wrapper)
300         lgfr    %r2,%r2                 # int
301         llgtr   %r3,%r3                 # __kernel_old_gid_emu31_t *
302         jg      sys32_setgroups16       # branch to system call
304 ENTRY(sys32_symlink_wrapper)
305         llgtr   %r2,%r2                 # const char *
306         llgtr   %r3,%r3                 # const char *
307         jg      sys_symlink             # branch to system call
309 ENTRY(sys32_readlink_wrapper)
310         llgtr   %r2,%r2                 # const char *
311         llgtr   %r3,%r3                 # char *
312         lgfr    %r4,%r4                 # int
313         jg      sys_readlink            # branch to system call
315 ENTRY(sys32_uselib_wrapper)
316         llgtr   %r2,%r2                 # const char *
317         jg      sys_uselib              # branch to system call
319 ENTRY(sys32_swapon_wrapper)
320         llgtr   %r2,%r2                 # const char *
321         lgfr    %r3,%r3                 # int
322         jg      sys_swapon              # branch to system call
324 ENTRY(sys32_reboot_wrapper)
325         lgfr    %r2,%r2                 # int
326         lgfr    %r3,%r3                 # int
327         llgfr   %r4,%r4                 # unsigned int
328         llgtr   %r5,%r5                 # void *
329         jg      sys_reboot              # branch to system call
331 ENTRY(old32_readdir_wrapper)
332         llgfr   %r2,%r2                 # unsigned int
333         llgtr   %r3,%r3                 # void *
334         llgfr   %r4,%r4                 # unsigned int
335         jg      compat_sys_old_readdir  # branch to system call
337 ENTRY(old32_mmap_wrapper)
338         llgtr   %r2,%r2                 # struct mmap_arg_struct_emu31 *
339         jg      old32_mmap              # branch to system call
341 ENTRY(sys32_munmap_wrapper)
342         llgfr   %r2,%r2                 # unsigned long
343         llgfr   %r3,%r3                 # size_t
344         jg      sys_munmap              # branch to system call
346 ENTRY(sys32_truncate_wrapper)
347         llgtr   %r2,%r2                 # const char *
348         lgfr    %r3,%r3                 # long
349         jg      sys_truncate            # branch to system call
351 ENTRY(sys32_ftruncate_wrapper)
352         llgfr   %r2,%r2                 # unsigned int
353         llgfr   %r3,%r3                 # unsigned long
354         jg      sys_ftruncate           # branch to system call
356 ENTRY(sys32_fchmod_wrapper)
357         llgfr   %r2,%r2                 # unsigned int
358         llgfr   %r3,%r3                 # mode_t
359         jg      sys_fchmod              # branch to system call
361 ENTRY(sys32_fchown16_wrapper)
362         llgfr   %r2,%r2                 # unsigned int
363         llgfr   %r3,%r3                 # compat_uid_t
364         llgfr   %r4,%r4                 # compat_uid_t
365         jg      sys32_fchown16          # branch to system call
367 ENTRY(sys32_getpriority_wrapper)
368         lgfr    %r2,%r2                 # int
369         lgfr    %r3,%r3                 # int
370         jg      sys_getpriority         # branch to system call
372 ENTRY(sys32_setpriority_wrapper)
373         lgfr    %r2,%r2                 # int
374         lgfr    %r3,%r3                 # int
375         lgfr    %r4,%r4                 # int
376         jg      sys_setpriority         # branch to system call
378 ENTRY(compat_sys_statfs_wrapper)
379         llgtr   %r2,%r2                 # char *
380         llgtr   %r3,%r3                 # struct compat_statfs *
381         jg      compat_sys_statfs       # branch to system call
383 ENTRY(compat_sys_fstatfs_wrapper)
384         llgfr   %r2,%r2                 # unsigned int
385         llgtr   %r3,%r3                 # struct compat_statfs *
386         jg      compat_sys_fstatfs      # branch to system call
388 ENTRY(compat_sys_socketcall_wrapper)
389         lgfr    %r2,%r2                 # int
390         llgtr   %r3,%r3                 # u32 *
391         jg      compat_sys_socketcall   # branch to system call
393 ENTRY(sys32_syslog_wrapper)
394         lgfr    %r2,%r2                 # int
395         llgtr   %r3,%r3                 # char *
396         lgfr    %r4,%r4                 # int
397         jg      sys_syslog              # branch to system call
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
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
410 ENTRY(compat_sys_newstat_wrapper)
411         llgtr   %r2,%r2                 # char *
412         llgtr   %r3,%r3                 # struct stat_emu31 *
413         jg      compat_sys_newstat      # branch to system call
415 ENTRY(compat_sys_newlstat_wrapper)
416         llgtr   %r2,%r2                 # char *
417         llgtr   %r3,%r3                 # struct stat_emu31 *
418         jg      compat_sys_newlstat     # branch to system call
420 ENTRY(compat_sys_newfstat_wrapper)
421         llgfr   %r2,%r2                 # unsigned int
422         llgtr   %r3,%r3                 # struct stat_emu31 *
423         jg      compat_sys_newfstat     # branch to system call
425 #sys32_vhangup_wrapper                  # void
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
434 ENTRY(sys32_swapoff_wrapper)
435         llgtr   %r2,%r2                 # const char *
436         jg      sys_swapoff             # branch to system call
438 ENTRY(compat_sys_sysinfo_wrapper)
439         llgtr   %r2,%r2                 # struct sysinfo_emu31 *
440         jg      compat_sys_sysinfo      # branch to system call
442 ENTRY(sys32_ipc_wrapper)
443         llgfr   %r2,%r2                 # uint
444         lgfr    %r3,%r3                 # int
445         lgfr    %r4,%r4                 # int
446         lgfr    %r5,%r5                 # int
447         llgfr   %r6,%r6                 # u32
448         jg      sys32_ipc               # branch to system call
450 ENTRY(sys32_fsync_wrapper)
451         llgfr   %r2,%r2                 # unsigned int
452         jg      sys_fsync               # branch to system call
454 #sys32_sigreturn_wrapper                # done in sigreturn_glue
456 #sys32_clone_wrapper                    # done in clone_glue
458 ENTRY(sys32_setdomainname_wrapper)
459         llgtr   %r2,%r2                 # char *
460         lgfr    %r3,%r3                 # int
461         jg      sys_setdomainname       # branch to system call
463 ENTRY(sys32_newuname_wrapper)
464         llgtr   %r2,%r2                 # struct new_utsname *
465         jg      sys_newuname            # branch to system call
467 ENTRY(compat_sys_adjtimex_wrapper)
468         llgtr   %r2,%r2                 # struct compat_timex *
469         jg      compat_sys_adjtimex     # branch to system call
471 ENTRY(sys32_mprotect_wrapper)
472         llgtr   %r2,%r2                 # unsigned long (actually pointer
473         llgfr   %r3,%r3                 # size_t
474         llgfr   %r4,%r4                 # unsigned long
475         jg      sys_mprotect            # branch to system call
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
483 ENTRY(sys_init_module_wrapper)
484         llgtr   %r2,%r2                 # void *
485         llgfr   %r3,%r3                 # unsigned long
486         llgtr   %r4,%r4                 # char *
487         jg      sys_init_module         # branch to system call
489 ENTRY(sys_delete_module_wrapper)
490         llgtr   %r2,%r2                 # const char *
491         llgfr   %r3,%r3                 # unsigned int
492         jg      sys_delete_module       # branch to system call
494 ENTRY(sys32_quotactl_wrapper)
495         llgfr   %r2,%r2                 # unsigned int
496         llgtr   %r3,%r3                 # const char *
497         llgfr   %r4,%r4                 # qid_t
498         llgtr   %r5,%r5                 # caddr_t
499         jg      sys_quotactl            # branch to system call
501 ENTRY(sys32_getpgid_wrapper)
502         lgfr    %r2,%r2                 # pid_t
503         jg      sys_getpgid             # branch to system call
505 ENTRY(sys32_fchdir_wrapper)
506         llgfr   %r2,%r2                 # unsigned int
507         jg      sys_fchdir              # branch to system call
509 ENTRY(sys32_bdflush_wrapper)
510         lgfr    %r2,%r2                 # int
511         lgfr    %r3,%r3                 # long
512         jg      sys_bdflush             # branch to system call
514 ENTRY(sys32_sysfs_wrapper)
515         lgfr    %r2,%r2                 # int
516         llgfr   %r3,%r3                 # unsigned long
517         llgfr   %r4,%r4                 # unsigned long
518         jg      sys_sysfs               # branch to system call
520 ENTRY(sys32_personality_wrapper)
521         llgfr   %r2,%r2                 # unsigned int
522         jg      sys_s390_personality    # branch to system call
524 ENTRY(sys32_setfsuid16_wrapper)
525         llgfr   %r2,%r2                 # __kernel_old_uid_emu31_t
526         jg      sys32_setfsuid16        # branch to system call
528 ENTRY(sys32_setfsgid16_wrapper)
529         llgfr   %r2,%r2                 # __kernel_old_gid_emu31_t
530         jg      sys32_setfsgid16        # branch to system call
532 ENTRY(sys32_llseek_wrapper)
533         llgfr   %r2,%r2                 # unsigned int
534         llgfr   %r3,%r3                 # unsigned long
535         llgfr   %r4,%r4                 # unsigned long
536         llgtr   %r5,%r5                 # loff_t *
537         llgfr   %r6,%r6                 # unsigned int
538         jg      sys_llseek              # branch to system call
540 ENTRY(sys32_getdents_wrapper)
541         llgfr   %r2,%r2                 # unsigned int
542         llgtr   %r3,%r3                 # void *
543         llgfr   %r4,%r4                 # unsigned int
544         jg      compat_sys_getdents     # branch to system call
546 ENTRY(compat_sys_select_wrapper)
547         lgfr    %r2,%r2                 # int
548         llgtr   %r3,%r3                 # compat_fd_set *
549         llgtr   %r4,%r4                 # compat_fd_set *
550         llgtr   %r5,%r5                 # compat_fd_set *
551         llgtr   %r6,%r6                 # struct compat_timeval *
552         jg      compat_sys_select       # branch to system call
554 ENTRY(sys32_flock_wrapper)
555         llgfr   %r2,%r2                 # unsigned int
556         llgfr   %r3,%r3                 # unsigned int
557         jg      sys_flock               # branch to system call
559 ENTRY(sys32_msync_wrapper)
560         llgfr   %r2,%r2                 # unsigned long
561         llgfr   %r3,%r3                 # size_t
562         lgfr    %r4,%r4                 # int
563         jg      sys_msync               # branch to system call
565 ENTRY(compat_sys_readv_wrapper)
566         lgfr    %r2,%r2                 # int
567         llgtr   %r3,%r3                 # const struct compat_iovec *
568         llgfr   %r4,%r4                 # unsigned long
569         jg      compat_sys_readv        # branch to system call
571 ENTRY(compat_sys_writev_wrapper)
572         lgfr    %r2,%r2                 # int
573         llgtr   %r3,%r3                 # const struct compat_iovec *
574         llgfr   %r4,%r4                 # unsigned long
575         jg      compat_sys_writev       # branch to system call
577 ENTRY(sys32_getsid_wrapper)
578         lgfr    %r2,%r2                 # pid_t
579         jg      sys_getsid              # branch to system call
581 ENTRY(sys32_fdatasync_wrapper)
582         llgfr   %r2,%r2                 # unsigned int
583         jg      sys_fdatasync           # branch to system call
585 ENTRY(sys32_mlock_wrapper)
586         llgfr   %r2,%r2                 # unsigned long
587         llgfr   %r3,%r3                 # size_t
588         jg      sys_mlock               # branch to system call
590 ENTRY(sys32_munlock_wrapper)
591         llgfr   %r2,%r2                 # unsigned long
592         llgfr   %r3,%r3                 # size_t
593         jg      sys_munlock             # branch to system call
595 ENTRY(sys32_mlockall_wrapper)
596         lgfr    %r2,%r2                 # int
597         jg      sys_mlockall            # branch to system call
599 #sys32_munlockall_wrapper               # void
601 ENTRY(sys32_sched_setparam_wrapper)
602         lgfr    %r2,%r2                 # pid_t
603         llgtr   %r3,%r3                 # struct sched_param *
604         jg      sys_sched_setparam      # branch to system call
606 ENTRY(sys32_sched_getparam_wrapper)
607         lgfr    %r2,%r2                 # pid_t
608         llgtr   %r3,%r3                 # struct sched_param *
609         jg      sys_sched_getparam      # branch to system call
611 ENTRY(sys32_sched_setscheduler_wrapper)
612         lgfr    %r2,%r2                 # pid_t
613         lgfr    %r3,%r3                 # int
614         llgtr   %r4,%r4                 # struct sched_param *
615         jg      sys_sched_setscheduler  # branch to system call
617 ENTRY(sys32_sched_getscheduler_wrapper)
618         lgfr    %r2,%r2                 # pid_t
619         jg      sys_sched_getscheduler  # branch to system call
621 #sys32_sched_yield_wrapper              # void
623 ENTRY(sys32_sched_get_priority_max_wrapper)
624         lgfr    %r2,%r2                 # int
625         jg      sys_sched_get_priority_max      # branch to system call
627 ENTRY(sys32_sched_get_priority_min_wrapper)
628         lgfr    %r2,%r2                 # int
629         jg      sys_sched_get_priority_min      # branch to system call
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
636 ENTRY(compat_sys_nanosleep_wrapper)
637         llgtr   %r2,%r2                 # struct compat_timespec *
638         llgtr   %r3,%r3                 # struct compat_timespec *
639         jg      compat_sys_nanosleep            # branch to system call
641 ENTRY(sys32_mremap_wrapper)
642         llgfr   %r2,%r2                 # unsigned long
643         llgfr   %r3,%r3                 # unsigned long
644         llgfr   %r4,%r4                 # unsigned long
645         llgfr   %r5,%r5                 # unsigned long
646         llgfr   %r6,%r6                 # unsigned long
647         jg      sys_mremap              # branch to system call
649 ENTRY(sys32_setresuid16_wrapper)
650         llgfr   %r2,%r2                 # __kernel_old_uid_emu31_t
651         llgfr   %r3,%r3                 # __kernel_old_uid_emu31_t
652         llgfr   %r4,%r4                 # __kernel_old_uid_emu31_t
653         jg      sys32_setresuid16       # branch to system call
655 ENTRY(sys32_getresuid16_wrapper)
656         llgtr   %r2,%r2                 # __kernel_old_uid_emu31_t *
657         llgtr   %r3,%r3                 # __kernel_old_uid_emu31_t *
658         llgtr   %r4,%r4                 # __kernel_old_uid_emu31_t *
659         jg      sys32_getresuid16       # branch to system call
661 ENTRY(sys32_poll_wrapper)
662         llgtr   %r2,%r2                 # struct pollfd *
663         llgfr   %r3,%r3                 # unsigned int
664         lgfr    %r4,%r4                 # int
665         jg      sys_poll                # branch to system call
667 ENTRY(sys32_setresgid16_wrapper)
668         llgfr   %r2,%r2                 # __kernel_old_gid_emu31_t
669         llgfr   %r3,%r3                 # __kernel_old_gid_emu31_t
670         llgfr   %r4,%r4                 # __kernel_old_gid_emu31_t
671         jg      sys32_setresgid16       # branch to system call
673 ENTRY(sys32_getresgid16_wrapper)
674         llgtr   %r2,%r2                 # __kernel_old_gid_emu31_t *
675         llgtr   %r3,%r3                 # __kernel_old_gid_emu31_t *
676         llgtr   %r4,%r4                 # __kernel_old_gid_emu31_t *
677         jg      sys32_getresgid16       # branch to system call
679 ENTRY(sys32_prctl_wrapper)
680         lgfr    %r2,%r2                 # int
681         llgfr   %r3,%r3                 # unsigned long
682         llgfr   %r4,%r4                 # unsigned long
683         llgfr   %r5,%r5                 # unsigned long
684         llgfr   %r6,%r6                 # unsigned long
685         jg      sys_prctl               # branch to system call
687 #sys32_rt_sigreturn_wrapper             # done in rt_sigreturn_glue
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
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
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
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
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
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
726 ENTRY(sys32_pread64_wrapper)
727         llgfr   %r2,%r2                 # unsigned int
728         llgtr   %r3,%r3                 # char *
729         llgfr   %r4,%r4                 # size_t
730         llgfr   %r5,%r5                 # u32
731         llgfr   %r6,%r6                 # u32
732         jg      sys32_pread64           # branch to system call
734 ENTRY(sys32_pwrite64_wrapper)
735         llgfr   %r2,%r2                 # unsigned int
736         llgtr   %r3,%r3                 # const char *
737         llgfr   %r4,%r4                 # size_t
738         llgfr   %r5,%r5                 # u32
739         llgfr   %r6,%r6                 # u32
740         jg      sys32_pwrite64          # branch to system call
742 ENTRY(sys32_chown16_wrapper)
743         llgtr   %r2,%r2                 # const char *
744         llgfr   %r3,%r3                 # __kernel_old_uid_emu31_t
745         llgfr   %r4,%r4                 # __kernel_old_gid_emu31_t
746         jg      sys32_chown16           # branch to system call
748 ENTRY(sys32_getcwd_wrapper)
749         llgtr   %r2,%r2                 # char *
750         llgfr   %r3,%r3                 # unsigned long
751         jg      sys_getcwd              # branch to system call
753 ENTRY(sys32_capget_wrapper)
754         llgtr   %r2,%r2                 # cap_user_header_t
755         llgtr   %r3,%r3                 # cap_user_data_t
756         jg      sys_capget              # branch to system call
758 ENTRY(sys32_capset_wrapper)
759         llgtr   %r2,%r2                 # cap_user_header_t
760         llgtr   %r3,%r3                 # const cap_user_data_t
761         jg      sys_capset              # branch to system call
763 ENTRY(sys32_sigaltstack_wrapper)
764         llgtr   %r2,%r2                 # const stack_emu31_t *
765         llgtr   %r3,%r3                 # stack_emu31_t *
766         jg      sys32_sigaltstack
768 ENTRY(sys32_sendfile_wrapper)
769         lgfr    %r2,%r2                 # int
770         lgfr    %r3,%r3                 # int
771         llgtr   %r4,%r4                 # __kernel_off_emu31_t *
772         llgfr   %r5,%r5                 # size_t
773         jg      sys32_sendfile          # branch to system call
775 #sys32_vfork_wrapper                    # done in vfork_glue
777 ENTRY(sys32_truncate64_wrapper)
778         llgtr   %r2,%r2                 # const char *
779         llgfr   %r3,%r3                 # unsigned long
780         llgfr   %r4,%r4                 # unsigned long
781         jg      sys32_truncate64        # branch to system call
783 ENTRY(sys32_ftruncate64_wrapper)
784         llgfr   %r2,%r2                 # unsigned int
785         llgfr   %r3,%r3                 # unsigned long
786         llgfr   %r4,%r4                 # unsigned long
787         jg      sys32_ftruncate64       # branch to system call
789 ENTRY(sys32_lchown_wrapper)
790         llgtr   %r2,%r2                 # const char *
791         llgfr   %r3,%r3                 # uid_t
792         llgfr   %r4,%r4                 # gid_t
793         jg      sys_lchown              # branch to system call
795 #sys32_getuid_wrapper                   # void
796 #sys32_getgid_wrapper                   # void
797 #sys32_geteuid_wrapper                  # void
798 #sys32_getegid_wrapper                  # void
800 ENTRY(sys32_setreuid_wrapper)
801         llgfr   %r2,%r2                 # uid_t
802         llgfr   %r3,%r3                 # uid_t
803         jg      sys_setreuid            # branch to system call
805 ENTRY(sys32_setregid_wrapper)
806         llgfr   %r2,%r2                 # gid_t
807         llgfr   %r3,%r3                 # gid_t
808         jg      sys_setregid            # branch to system call
810 ENTRY(sys32_getgroups_wrapper)
811         lgfr    %r2,%r2                 # int
812         llgtr   %r3,%r3                 # gid_t *
813         jg      sys_getgroups           # branch to system call
815 ENTRY(sys32_setgroups_wrapper)
816         lgfr    %r2,%r2                 # int
817         llgtr   %r3,%r3                 # gid_t *
818         jg      sys_setgroups           # branch to system call
820 ENTRY(sys32_fchown_wrapper)
821         llgfr   %r2,%r2                 # unsigned int
822         llgfr   %r3,%r3                 # uid_t
823         llgfr   %r4,%r4                 # gid_t
824         jg      sys_fchown              # branch to system call
826 ENTRY(sys32_setresuid_wrapper)
827         llgfr   %r2,%r2                 # uid_t
828         llgfr   %r3,%r3                 # uid_t
829         llgfr   %r4,%r4                 # uid_t
830         jg      sys_setresuid           # branch to system call
832 ENTRY(sys32_getresuid_wrapper)
833         llgtr   %r2,%r2                 # uid_t *
834         llgtr   %r3,%r3                 # uid_t *
835         llgtr   %r4,%r4                 # uid_t *
836         jg      sys_getresuid           # branch to system call
838 ENTRY(sys32_setresgid_wrapper)
839         llgfr   %r2,%r2                 # gid_t
840         llgfr   %r3,%r3                 # gid_t
841         llgfr   %r4,%r4                 # gid_t
842         jg      sys_setresgid           # branch to system call
844 ENTRY(sys32_getresgid_wrapper)
845         llgtr   %r2,%r2                 # gid_t *
846         llgtr   %r3,%r3                 # gid_t *
847         llgtr   %r4,%r4                 # gid_t *
848         jg      sys_getresgid           # branch to system call
850 ENTRY(sys32_chown_wrapper)
851         llgtr   %r2,%r2                 # const char *
852         llgfr   %r3,%r3                 # uid_t
853         llgfr   %r4,%r4                 # gid_t
854         jg      sys_chown               # branch to system call
856 ENTRY(sys32_setuid_wrapper)
857         llgfr   %r2,%r2                 # uid_t
858         jg      sys_setuid              # branch to system call
860 ENTRY(sys32_setgid_wrapper)
861         llgfr   %r2,%r2                 # gid_t
862         jg      sys_setgid              # branch to system call
864 ENTRY(sys32_setfsuid_wrapper)
865         llgfr   %r2,%r2                 # uid_t
866         jg      sys_setfsuid            # branch to system call
868 ENTRY(sys32_setfsgid_wrapper)
869         llgfr   %r2,%r2                 # gid_t
870         jg      sys_setfsgid            # branch to system call
872 ENTRY(sys32_pivot_root_wrapper)
873         llgtr   %r2,%r2                 # const char *
874         llgtr   %r3,%r3                 # const char *
875         jg      sys_pivot_root          # branch to system call
877 ENTRY(sys32_mincore_wrapper)
878         llgfr   %r2,%r2                 # unsigned long
879         llgfr   %r3,%r3                 # size_t
880         llgtr   %r4,%r4                 # unsigned char *
881         jg      sys_mincore             # branch to system call
883 ENTRY(sys32_madvise_wrapper)
884         llgfr   %r2,%r2                 # unsigned long
885         llgfr   %r3,%r3                 # size_t
886         lgfr    %r4,%r4                 # int
887         jg      sys_madvise             # branch to system call
889 ENTRY(sys32_getdents64_wrapper)
890         llgfr   %r2,%r2                 # unsigned int
891         llgtr   %r3,%r3                 # void *
892         llgfr   %r4,%r4                 # unsigned int
893         jg      sys_getdents64          # branch to system call
895 ENTRY(compat_sys_fcntl64_wrapper)
896         llgfr   %r2,%r2                 # unsigned int
897         llgfr   %r3,%r3                 # unsigned int
898         llgfr   %r4,%r4                 # unsigned long
899         jg      compat_sys_fcntl64      # branch to system call
901 ENTRY(sys32_stat64_wrapper)
902         llgtr   %r2,%r2                 # char *
903         llgtr   %r3,%r3                 # struct stat64 *
904         jg      sys32_stat64            # branch to system call
906 ENTRY(sys32_lstat64_wrapper)
907         llgtr   %r2,%r2                 # char *
908         llgtr   %r3,%r3                 # struct stat64 *
909         jg      sys32_lstat64           # branch to system call
911 ENTRY(sys32_stime_wrapper)
912         llgtr   %r2,%r2                 # long *
913         jg      compat_sys_stime        # branch to system call
915 ENTRY(sys32_sysctl_wrapper)
916         llgtr   %r2,%r2                 # struct compat_sysctl_args *
917         jg      compat_sys_sysctl
919 ENTRY(sys32_fstat64_wrapper)
920         llgfr   %r2,%r2                 # unsigned long
921         llgtr   %r3,%r3                 # struct stat64 *
922         jg      sys32_fstat64           # branch to system call
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
934 ENTRY(sys32_setxattr_wrapper)
935         llgtr   %r2,%r2                 # char *
936         llgtr   %r3,%r3                 # char *
937         llgtr   %r4,%r4                 # void *
938         llgfr   %r5,%r5                 # size_t
939         lgfr    %r6,%r6                 # int
940         jg      sys_setxattr
942 ENTRY(sys32_lsetxattr_wrapper)
943         llgtr   %r2,%r2                 # char *
944         llgtr   %r3,%r3                 # char *
945         llgtr   %r4,%r4                 # void *
946         llgfr   %r5,%r5                 # size_t
947         lgfr    %r6,%r6                 # int
948         jg      sys_lsetxattr
950 ENTRY(sys32_fsetxattr_wrapper)
951         lgfr    %r2,%r2                 # int
952         llgtr   %r3,%r3                 # char *
953         llgtr   %r4,%r4                 # void *
954         llgfr   %r5,%r5                 # size_t
955         lgfr    %r6,%r6                 # int
956         jg      sys_fsetxattr
958 ENTRY(sys32_getxattr_wrapper)
959         llgtr   %r2,%r2                 # char *
960         llgtr   %r3,%r3                 # char *
961         llgtr   %r4,%r4                 # void *
962         llgfr   %r5,%r5                 # size_t
963         jg      sys_getxattr
965 ENTRY(sys32_lgetxattr_wrapper)
966         llgtr   %r2,%r2                 # char *
967         llgtr   %r3,%r3                 # char *
968         llgtr   %r4,%r4                 # void *
969         llgfr   %r5,%r5                 # size_t
970         jg      sys_lgetxattr
972 ENTRY(sys32_fgetxattr_wrapper)
973         lgfr    %r2,%r2                 # int
974         llgtr   %r3,%r3                 # char *
975         llgtr   %r4,%r4                 # void *
976         llgfr   %r5,%r5                 # size_t
977         jg      sys_fgetxattr
979 ENTRY(sys32_listxattr_wrapper)
980         llgtr   %r2,%r2                 # char *
981         llgtr   %r3,%r3                 # char *
982         llgfr   %r4,%r4                 # size_t
983         jg      sys_listxattr
985 ENTRY(sys32_llistxattr_wrapper)
986         llgtr   %r2,%r2                 # char *
987         llgtr   %r3,%r3                 # char *
988         llgfr   %r4,%r4                 # size_t
989         jg      sys_llistxattr
991 ENTRY(sys32_flistxattr_wrapper)
992         lgfr    %r2,%r2                 # int
993         llgtr   %r3,%r3                 # char *
994         llgfr   %r4,%r4                 # size_t
995         jg      sys_flistxattr
997 ENTRY(sys32_removexattr_wrapper)
998         llgtr   %r2,%r2                 # char *
999         llgtr   %r3,%r3                 # char *
1000         jg      sys_removexattr
1002 ENTRY(sys32_lremovexattr_wrapper)
1003         llgtr   %r2,%r2                 # char *
1004         llgtr   %r3,%r3                 # char *
1005         jg      sys_lremovexattr
1007 ENTRY(sys32_fremovexattr_wrapper)
1008         lgfr    %r2,%r2                 # int
1009         llgtr   %r3,%r3                 # char *
1010         jg      sys_fremovexattr
1012 ENTRY(sys32_sched_setaffinity_wrapper)
1013         lgfr    %r2,%r2                 # int
1014         llgfr   %r3,%r3                 # unsigned int
1015         llgtr   %r4,%r4                 # unsigned long *
1016         jg      compat_sys_sched_setaffinity
1018 ENTRY(sys32_sched_getaffinity_wrapper)
1019         lgfr    %r2,%r2                 # int
1020         llgfr   %r3,%r3                 # unsigned int
1021         llgtr   %r4,%r4                 # unsigned long *
1022         jg      compat_sys_sched_getaffinity
1024 ENTRY(sys32_exit_group_wrapper)
1025         lgfr    %r2,%r2                 # int
1026         jg      sys_exit_group          # branch to system call
1028 ENTRY(sys32_set_tid_address_wrapper)
1029         llgtr   %r2,%r2                 # int *
1030         jg      sys_set_tid_address     # branch to system call
1032 ENTRY(sys_epoll_create_wrapper)
1033         lgfr    %r2,%r2                 # int
1034         jg      sys_epoll_create        # branch to system call
1036 ENTRY(sys_epoll_ctl_wrapper)
1037         lgfr    %r2,%r2                 # int
1038         lgfr    %r3,%r3                 # int
1039         lgfr    %r4,%r4                 # int
1040         llgtr   %r5,%r5                 # struct epoll_event *
1041         jg      sys_epoll_ctl           # branch to system call
1043 ENTRY(sys_epoll_wait_wrapper)
1044         lgfr    %r2,%r2                 # int
1045         llgtr   %r3,%r3                 # struct epoll_event *
1046         lgfr    %r4,%r4                 # int
1047         lgfr    %r5,%r5                 # int
1048         jg      sys_epoll_wait          # branch to system call
1050 ENTRY(sys32_lookup_dcookie_wrapper)
1051         sllg    %r2,%r2,32              # get high word of 64bit dcookie
1052         or      %r2,%r3                 # get low word of 64bit dcookie
1053         llgtr   %r3,%r4                 # char *
1054         llgfr   %r4,%r5                 # size_t
1055         jg      sys_lookup_dcookie
1057 ENTRY(sys32_fadvise64_wrapper)
1058         lgfr    %r2,%r2                 # int
1059         sllg    %r3,%r3,32              # get high word of 64bit loff_t
1060         or      %r3,%r4                 # get low word of 64bit loff_t
1061         llgfr   %r4,%r5                 # size_t (unsigned long)
1062         lgfr    %r5,%r6                 # int
1063         jg      sys32_fadvise64
1065 ENTRY(sys32_fadvise64_64_wrapper)
1066         llgtr   %r2,%r2                 # struct fadvise64_64_args *
1067         jg      sys32_fadvise64_64
1069 ENTRY(sys32_clock_settime_wrapper)
1070         lgfr    %r2,%r2                 # clockid_t (int)
1071         llgtr   %r3,%r3                 # struct compat_timespec *
1072         jg      compat_sys_clock_settime
1074 ENTRY(sys32_clock_gettime_wrapper)
1075         lgfr    %r2,%r2                 # clockid_t (int)
1076         llgtr   %r3,%r3                 # struct compat_timespec *
1077         jg      compat_sys_clock_gettime
1079 ENTRY(sys32_clock_getres_wrapper)
1080         lgfr    %r2,%r2                 # clockid_t (int)
1081         llgtr   %r3,%r3                 # struct compat_timespec *
1082         jg      compat_sys_clock_getres
1084 ENTRY(sys32_clock_nanosleep_wrapper)
1085         lgfr    %r2,%r2                 # clockid_t (int)
1086         lgfr    %r3,%r3                 # int
1087         llgtr   %r4,%r4                 # struct compat_timespec *
1088         llgtr   %r5,%r5                 # struct compat_timespec *
1089         jg      compat_sys_clock_nanosleep
1091 ENTRY(sys32_timer_create_wrapper)
1092         lgfr    %r2,%r2                 # timer_t (int)
1093         llgtr   %r3,%r3                 # struct compat_sigevent *
1094         llgtr   %r4,%r4                 # timer_t *
1095         jg      compat_sys_timer_create
1097 ENTRY(sys32_timer_settime_wrapper)
1098         lgfr    %r2,%r2                 # timer_t (int)
1099         lgfr    %r3,%r3                 # int
1100         llgtr   %r4,%r4                 # struct compat_itimerspec *
1101         llgtr   %r5,%r5                 # struct compat_itimerspec *
1102         jg      compat_sys_timer_settime
1104 ENTRY(sys32_timer_gettime_wrapper)
1105         lgfr    %r2,%r2                 # timer_t (int)
1106         llgtr   %r3,%r3                 # struct compat_itimerspec *
1107         jg      compat_sys_timer_gettime
1109 ENTRY(sys32_timer_getoverrun_wrapper)
1110         lgfr    %r2,%r2                 # timer_t (int)
1111         jg      sys_timer_getoverrun
1113 ENTRY(sys32_timer_delete_wrapper)
1114         lgfr    %r2,%r2                 # timer_t (int)
1115         jg      sys_timer_delete
1117 ENTRY(sys32_io_setup_wrapper)
1118         llgfr   %r2,%r2                 # unsigned int
1119         llgtr   %r3,%r3                 # u32 *
1120         jg      compat_sys_io_setup
1122 ENTRY(sys32_io_destroy_wrapper)
1123         llgfr   %r2,%r2                 # (aio_context_t) u32
1124         jg      sys_io_destroy
1126 ENTRY(sys32_io_getevents_wrapper)
1127         llgfr   %r2,%r2                 # (aio_context_t) u32
1128         lgfr    %r3,%r3                 # long
1129         lgfr    %r4,%r4                 # long
1130         llgtr   %r5,%r5                 # struct io_event *
1131         llgtr   %r6,%r6                 # struct compat_timespec *
1132         jg      compat_sys_io_getevents
1134 ENTRY(sys32_io_submit_wrapper)
1135         llgfr   %r2,%r2                 # (aio_context_t) u32
1136         lgfr    %r3,%r3                 # long
1137         llgtr   %r4,%r4                 # struct iocb **
1138         jg      compat_sys_io_submit
1140 ENTRY(sys32_io_cancel_wrapper)
1141         llgfr   %r2,%r2                 # (aio_context_t) u32
1142         llgtr   %r3,%r3                 # struct iocb *
1143         llgtr   %r4,%r4                 # struct io_event *
1144         jg      sys_io_cancel
1146 ENTRY(compat_sys_statfs64_wrapper)
1147         llgtr   %r2,%r2                 # const char *
1148         llgfr   %r3,%r3                 # compat_size_t
1149         llgtr   %r4,%r4                 # struct compat_statfs64 *
1150         jg      compat_sys_statfs64
1152 ENTRY(compat_sys_fstatfs64_wrapper)
1153         llgfr   %r2,%r2                 # unsigned int fd
1154         llgfr   %r3,%r3                 # compat_size_t
1155         llgtr   %r4,%r4                 # struct compat_statfs64 *
1156         jg      compat_sys_fstatfs64
1158 ENTRY(compat_sys_mq_open_wrapper)
1159         llgtr   %r2,%r2                 # const char *
1160         lgfr    %r3,%r3                 # int
1161         llgfr   %r4,%r4                 # mode_t
1162         llgtr   %r5,%r5                 # struct compat_mq_attr *
1163         jg      compat_sys_mq_open
1165 ENTRY(sys32_mq_unlink_wrapper)
1166         llgtr   %r2,%r2                 # const char *
1167         jg      sys_mq_unlink
1169 ENTRY(compat_sys_mq_timedsend_wrapper)
1170         lgfr    %r2,%r2                 # mqd_t
1171         llgtr   %r3,%r3                 # const char *
1172         llgfr   %r4,%r4                 # size_t
1173         llgfr   %r5,%r5                 # unsigned int
1174         llgtr   %r6,%r6                 # const struct compat_timespec *
1175         jg      compat_sys_mq_timedsend
1177 ENTRY(compat_sys_mq_timedreceive_wrapper)
1178         lgfr    %r2,%r2                 # mqd_t
1179         llgtr   %r3,%r3                 # char *
1180         llgfr   %r4,%r4                 # size_t
1181         llgtr   %r5,%r5                 # unsigned int *
1182         llgtr   %r6,%r6                 # const struct compat_timespec *
1183         jg      compat_sys_mq_timedreceive
1185 ENTRY(compat_sys_mq_notify_wrapper)
1186         lgfr    %r2,%r2                 # mqd_t
1187         llgtr   %r3,%r3                 # struct compat_sigevent *
1188         jg      compat_sys_mq_notify
1190 ENTRY(compat_sys_mq_getsetattr_wrapper)
1191         lgfr    %r2,%r2                 # mqd_t
1192         llgtr   %r3,%r3                 # struct compat_mq_attr *
1193         llgtr   %r4,%r4                 # struct compat_mq_attr *
1194         jg      compat_sys_mq_getsetattr
1196 ENTRY(compat_sys_add_key_wrapper)
1197         llgtr   %r2,%r2                 # const char *
1198         llgtr   %r3,%r3                 # const char *
1199         llgtr   %r4,%r4                 # const void *
1200         llgfr   %r5,%r5                 # size_t
1201         llgfr   %r6,%r6                 # (key_serial_t) u32
1202         jg      sys_add_key
1204 ENTRY(compat_sys_request_key_wrapper)
1205         llgtr   %r2,%r2                 # const char *
1206         llgtr   %r3,%r3                 # const char *
1207         llgtr   %r4,%r4                 # const void *
1208         llgfr   %r5,%r5                 # (key_serial_t) u32
1209         jg      sys_request_key
1211 ENTRY(sys32_remap_file_pages_wrapper)
1212         llgfr   %r2,%r2                 # unsigned long
1213         llgfr   %r3,%r3                 # unsigned long
1214         llgfr   %r4,%r4                 # unsigned long
1215         llgfr   %r5,%r5                 # unsigned long
1216         llgfr   %r6,%r6                 # unsigned long
1217         jg      sys_remap_file_pages
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
1227 ENTRY(compat_sys_kexec_load_wrapper)
1228         llgfr   %r2,%r2                 # unsigned long
1229         llgfr   %r3,%r3                 # unsigned long
1230         llgtr   %r4,%r4                 # struct kexec_segment *
1231         llgfr   %r5,%r5                 # unsigned long
1232         jg      compat_sys_kexec_load
1234 ENTRY(sys_ioprio_set_wrapper)
1235         lgfr    %r2,%r2                 # int
1236         lgfr    %r3,%r3                 # int
1237         lgfr    %r4,%r4                 # int
1238         jg      sys_ioprio_set
1240 ENTRY(sys_ioprio_get_wrapper)
1241         lgfr    %r2,%r2                 # int
1242         lgfr    %r3,%r3                 # int
1243         jg      sys_ioprio_get
1245 ENTRY(sys_inotify_add_watch_wrapper)
1246         lgfr    %r2,%r2                 # int
1247         llgtr   %r3,%r3                 # const char *
1248         llgfr   %r4,%r4                 # u32
1249         jg      sys_inotify_add_watch
1251 ENTRY(sys_inotify_rm_watch_wrapper)
1252         lgfr    %r2,%r2                 # int
1253         llgfr   %r3,%r3                 # u32
1254         jg      sys_inotify_rm_watch
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
1263 ENTRY(sys_mkdirat_wrapper)
1264         lgfr    %r2,%r2                 # int
1265         llgtr   %r3,%r3                 # const char *
1266         lgfr    %r4,%r4                 # int
1267         jg      sys_mkdirat
1269 ENTRY(sys_mknodat_wrapper)
1270         lgfr    %r2,%r2                 # int
1271         llgtr   %r3,%r3                 # const char *
1272         lgfr    %r4,%r4                 # int
1273         llgfr   %r5,%r5                 # unsigned int
1274         jg      sys_mknodat
1276 ENTRY(sys_fchownat_wrapper)
1277         lgfr    %r2,%r2                 # int
1278         llgtr   %r3,%r3                 # const char *
1279         llgfr   %r4,%r4                 # uid_t
1280         llgfr   %r5,%r5                 # gid_t
1281         lgfr    %r6,%r6                 # int
1282         jg      sys_fchownat
1284 ENTRY(compat_sys_futimesat_wrapper)
1285         llgfr   %r2,%r2                 # unsigned int
1286         llgtr   %r3,%r3                 # char *
1287         llgtr   %r4,%r4                 # struct timeval *
1288         jg      compat_sys_futimesat
1290 ENTRY(sys32_fstatat64_wrapper)
1291         llgfr   %r2,%r2                 # unsigned int
1292         llgtr   %r3,%r3                 # char *
1293         llgtr   %r4,%r4                 # struct stat64 *
1294         lgfr    %r5,%r5                 # int
1295         jg      sys32_fstatat64
1297 ENTRY(sys_unlinkat_wrapper)
1298         lgfr    %r2,%r2                 # int
1299         llgtr   %r3,%r3                 # const char *
1300         lgfr    %r4,%r4                 # int
1301         jg      sys_unlinkat
1303 ENTRY(sys_renameat_wrapper)
1304         lgfr    %r2,%r2                 # int
1305         llgtr   %r3,%r3                 # const char *
1306         lgfr    %r4,%r4                 # int
1307         llgtr   %r5,%r5                 # const char *
1308         jg      sys_renameat
1310 ENTRY(sys_linkat_wrapper)
1311         lgfr    %r2,%r2                 # int
1312         llgtr   %r3,%r3                 # const char *
1313         lgfr    %r4,%r4                 # int
1314         llgtr   %r5,%r5                 # const char *
1315         lgfr    %r6,%r6                 # int
1316         jg      sys_linkat
1318 ENTRY(sys_symlinkat_wrapper)
1319         llgtr   %r2,%r2                 # const char *
1320         lgfr    %r3,%r3                 # int
1321         llgtr   %r4,%r4                 # const char *
1322         jg      sys_symlinkat
1324 ENTRY(sys_readlinkat_wrapper)
1325         lgfr    %r2,%r2                 # int
1326         llgtr   %r3,%r3                 # const char *
1327         llgtr   %r4,%r4                 # char *
1328         lgfr    %r5,%r5                 # int
1329         jg      sys_readlinkat
1331 ENTRY(sys_fchmodat_wrapper)
1332         lgfr    %r2,%r2                 # int
1333         llgtr   %r3,%r3                 # const char *
1334         llgfr   %r4,%r4                 # mode_t
1335         jg      sys_fchmodat
1337 ENTRY(sys_faccessat_wrapper)
1338         lgfr    %r2,%r2                 # int
1339         llgtr   %r3,%r3                 # const char *
1340         lgfr    %r4,%r4                 # int
1341         jg      sys_faccessat
1343 ENTRY(compat_sys_pselect6_wrapper)
1344         lgfr    %r2,%r2                 # int
1345         llgtr   %r3,%r3                 # fd_set *
1346         llgtr   %r4,%r4                 # fd_set *
1347         llgtr   %r5,%r5                 # fd_set *
1348         llgtr   %r6,%r6                 # struct timespec *
1349         llgt    %r0,164(%r15)           # void *
1350         stg     %r0,160(%r15)
1351         jg      compat_sys_pselect6
1353 ENTRY(compat_sys_ppoll_wrapper)
1354         llgtr   %r2,%r2                 # struct pollfd *
1355         llgfr   %r3,%r3                 # unsigned int
1356         llgtr   %r4,%r4                 # struct timespec *
1357         llgtr   %r5,%r5                 # const sigset_t *
1358         llgfr   %r6,%r6                 # size_t
1359         jg      compat_sys_ppoll
1361 ENTRY(sys_unshare_wrapper)
1362         llgfr   %r2,%r2                 # unsigned long
1363         jg      sys_unshare
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
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
1376 ENTRY(sys_splice_wrapper)
1377         lgfr    %r2,%r2                 # int
1378         llgtr   %r3,%r3                 # loff_t *
1379         lgfr    %r4,%r4                 # int
1380         llgtr   %r5,%r5                 # loff_t *
1381         llgfr   %r6,%r6                 # size_t
1382         llgf    %r0,164(%r15)           # unsigned int
1383         stg     %r0,160(%r15)
1384         jg      sys_splice
1386 ENTRY(sys_sync_file_range_wrapper)
1387         lgfr    %r2,%r2                 # int
1388         sllg    %r3,%r3,32              # get high word of 64bit loff_t
1389         or      %r3,%r4                 # get low word of 64bit loff_t
1390         sllg    %r4,%r5,32              # get high word of 64bit loff_t
1391         or      %r4,%r6                 # get low word of 64bit loff_t
1392         llgf    %r5,164(%r15)           # unsigned int
1393         jg      sys_sync_file_range
1395 ENTRY(sys_tee_wrapper)
1396         lgfr    %r2,%r2                 # int
1397         lgfr    %r3,%r3                 # int
1398         llgfr   %r4,%r4                 # size_t
1399         llgfr   %r5,%r5                 # unsigned int
1400         jg      sys_tee
1402 ENTRY(compat_sys_vmsplice_wrapper)
1403         lgfr    %r2,%r2                 # int
1404         llgtr   %r3,%r3                 # compat_iovec *
1405         llgfr   %r4,%r4                 # unsigned int
1406         llgfr   %r5,%r5                 # unsigned int
1407         jg      compat_sys_vmsplice
1409 ENTRY(sys_getcpu_wrapper)
1410         llgtr   %r2,%r2                 # unsigned *
1411         llgtr   %r3,%r3                 # unsigned *
1412         llgtr   %r4,%r4                 # struct getcpu_cache *
1413         jg      sys_getcpu
1415 ENTRY(compat_sys_epoll_pwait_wrapper)
1416         lgfr    %r2,%r2                 # int
1417         llgtr   %r3,%r3                 # struct compat_epoll_event *
1418         lgfr    %r4,%r4                 # int
1419         lgfr    %r5,%r5                 # int
1420         llgtr   %r6,%r6                 # compat_sigset_t *
1421         llgf    %r0,164(%r15)           # compat_size_t
1422         stg     %r0,160(%r15)
1423         jg      compat_sys_epoll_pwait
1425 ENTRY(compat_sys_utimes_wrapper)
1426         llgtr   %r2,%r2                 # char *
1427         llgtr   %r3,%r3                 # struct compat_timeval *
1428         jg      compat_sys_utimes
1430 ENTRY(compat_sys_utimensat_wrapper)
1431         llgfr   %r2,%r2                 # unsigned int
1432         llgtr   %r3,%r3                 # char *
1433         llgtr   %r4,%r4                 # struct compat_timespec *
1434         lgfr    %r5,%r5                 # int
1435         jg      compat_sys_utimensat
1437 ENTRY(compat_sys_signalfd_wrapper)
1438         lgfr    %r2,%r2                 # int
1439         llgtr   %r3,%r3                 # compat_sigset_t *
1440         llgfr   %r4,%r4                 # compat_size_t
1441         jg      compat_sys_signalfd
1443 ENTRY(sys_eventfd_wrapper)
1444         llgfr   %r2,%r2                 # unsigned int
1445         jg      sys_eventfd
1447 ENTRY(sys_fallocate_wrapper)
1448         lgfr    %r2,%r2                 # int
1449         lgfr    %r3,%r3                 # int
1450         sllg    %r4,%r4,32              # get high word of 64bit loff_t
1451         lr      %r4,%r5                 # get low word of 64bit loff_t
1452         sllg    %r5,%r6,32              # get high word of 64bit loff_t
1453         l       %r5,164(%r15)           # get low word of 64bit loff_t
1454         jg      sys_fallocate
1456 ENTRY(sys_timerfd_create_wrapper)
1457         lgfr    %r2,%r2                 # int
1458         lgfr    %r3,%r3                 # int
1459         jg      sys_timerfd_create
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
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
1473 ENTRY(compat_sys_signalfd4_wrapper)
1474         lgfr    %r2,%r2                 # int
1475         llgtr   %r3,%r3                 # compat_sigset_t *
1476         llgfr   %r4,%r4                 # compat_size_t
1477         lgfr    %r5,%r5                 # int
1478         jg      compat_sys_signalfd4
1480 ENTRY(sys_eventfd2_wrapper)
1481         llgfr   %r2,%r2                 # unsigned int
1482         lgfr    %r3,%r3                 # int
1483         jg      sys_eventfd2
1485 ENTRY(sys_inotify_init1_wrapper)
1486         lgfr    %r2,%r2                 # int
1487         jg      sys_inotify_init1
1489 ENTRY(sys_pipe2_wrapper)
1490         llgtr   %r2,%r2                 # u32 *
1491         lgfr    %r3,%r3                 # int
1492         jg      sys_pipe2               # branch to system call
1494 ENTRY(sys_dup3_wrapper)
1495         llgfr   %r2,%r2                 # unsigned int
1496         llgfr   %r3,%r3                 # unsigned int
1497         lgfr    %r4,%r4                 # int
1498         jg      sys_dup3                # branch to system call
1500 ENTRY(sys_epoll_create1_wrapper)
1501         lgfr    %r2,%r2                 # int
1502         jg      sys_epoll_create1       # branch to system call
1504 ENTRY(sys32_readahead_wrapper)
1505         lgfr    %r2,%r2                 # int
1506         llgfr   %r3,%r3                 # u32
1507         llgfr   %r4,%r4                 # u32
1508         lgfr    %r5,%r5                 # s32
1509         jg      sys32_readahead         # branch to system call
1511 ENTRY(sys32_sendfile64_wrapper)
1512         lgfr    %r2,%r2                 # int
1513         lgfr    %r3,%r3                 # int
1514         llgtr   %r4,%r4                 # compat_loff_t *
1515         lgfr    %r5,%r5                 # s32
1516         jg      sys32_sendfile64        # branch to system call
1518 ENTRY(sys_tkill_wrapper)
1519         lgfr    %r2,%r2                 # pid_t
1520         lgfr    %r3,%r3                 # int
1521         jg      sys_tkill               # branch to system call
1523 ENTRY(sys_tgkill_wrapper)
1524         lgfr    %r2,%r2                 # pid_t
1525         lgfr    %r3,%r3                 # pid_t
1526         lgfr    %r4,%r4                 # int
1527         jg      sys_tgkill              # branch to system call
1529 ENTRY(compat_sys_keyctl_wrapper)
1530         llgfr   %r2,%r2                 # u32
1531         llgfr   %r3,%r3                 # u32
1532         llgfr   %r4,%r4                 # u32
1533         llgfr   %r5,%r5                 # u32
1534         llgfr   %r6,%r6                 # u32
1535         jg      compat_sys_keyctl       # branch to system call
1537 ENTRY(compat_sys_preadv_wrapper)
1538         llgfr   %r2,%r2                 # unsigned long
1539         llgtr   %r3,%r3                 # compat_iovec *
1540         llgfr   %r4,%r4                 # unsigned long
1541         llgfr   %r5,%r5                 # u32
1542         llgfr   %r6,%r6                 # u32
1543         jg      compat_sys_preadv       # branch to system call
1545 ENTRY(compat_sys_pwritev_wrapper)
1546         llgfr   %r2,%r2                 # unsigned long
1547         llgtr   %r3,%r3                 # compat_iovec *
1548         llgfr   %r4,%r4                 # unsigned long
1549         llgfr   %r5,%r5                 # u32
1550         llgfr   %r6,%r6                 # u32
1551         jg      compat_sys_pwritev      # branch to system call
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
1560 ENTRY(sys_perf_event_open_wrapper)
1561         llgtr   %r2,%r2                 # const struct perf_event_attr *
1562         lgfr    %r3,%r3                 # pid_t
1563         lgfr    %r4,%r4                 # int
1564         lgfr    %r5,%r5                 # int
1565         llgfr   %r6,%r6                 # unsigned long
1566         jg      sys_perf_event_open     # branch to system call
1568 ENTRY(sys_clone_wrapper)
1569         llgfr   %r2,%r2                 # unsigned long
1570         llgfr   %r3,%r3                 # unsigned long
1571         llgtr   %r4,%r4                 # int *
1572         llgtr   %r5,%r5                 # int *
1573         jg      sys_clone               # branch to system call
1575 ENTRY(sys32_execve_wrapper)
1576         llgtr   %r2,%r2                 # char *
1577         llgtr   %r3,%r3                 # compat_uptr_t *
1578         llgtr   %r4,%r4                 # compat_uptr_t *
1579         jg      compat_sys_execve       # branch to system call
1581 ENTRY(sys_fanotify_init_wrapper)
1582         llgfr   %r2,%r2                 # unsigned int
1583         llgfr   %r3,%r3                 # unsigned int
1584         jg      sys_fanotify_init       # branch to system call
1586 ENTRY(sys_fanotify_mark_wrapper)
1587         lgfr    %r2,%r2                 # int
1588         llgfr   %r3,%r3                 # unsigned int
1589         sllg    %r4,%r4,32              # get high word of 64bit mask
1590         lr      %r4,%r5                 # get low word of 64bit mask
1591         llgfr   %r5,%r6                 # unsigned int
1592         llgt    %r6,164(%r15)           # char *
1593         jg      sys_fanotify_mark       # branch to system call
1595 ENTRY(sys_prlimit64_wrapper)
1596         lgfr    %r2,%r2                 # pid_t
1597         llgfr   %r3,%r3                 # unsigned int
1598         llgtr   %r4,%r4                 # const struct rlimit64 __user *
1599         llgtr   %r5,%r5                 # struct rlimit64 __user *
1600         jg      sys_prlimit64           # branch to system call
1602 ENTRY(sys_name_to_handle_at_wrapper)
1603         lgfr    %r2,%r2                 # int
1604         llgtr   %r3,%r3                 # const char __user *
1605         llgtr   %r4,%r4                 # struct file_handle __user *
1606         llgtr   %r5,%r5                 # int __user *
1607         lgfr    %r6,%r6                 # int
1608         jg      sys_name_to_handle_at
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
1616 ENTRY(compat_sys_clock_adjtime_wrapper)
1617         lgfr    %r2,%r2                 # clockid_t (int)
1618         llgtr   %r3,%r3                 # struct compat_timex __user *
1619         jg      compat_sys_clock_adjtime
1621 ENTRY(sys_syncfs_wrapper)
1622         lgfr    %r2,%r2                 # int
1623         jg      sys_syncfs
1625 ENTRY(sys_setns_wrapper)
1626         lgfr    %r2,%r2                 # int
1627         lgfr    %r3,%r3                 # int
1628         jg      sys_setns
1630 ENTRY(compat_sys_process_vm_readv_wrapper)
1631         lgfr    %r2,%r2                 # compat_pid_t
1632         llgtr   %r3,%r3                 # struct compat_iovec __user *
1633         llgfr   %r4,%r4                 # unsigned long
1634         llgtr   %r5,%r5                 # struct compat_iovec __user *
1635         llgfr   %r6,%r6                 # unsigned long
1636         llgf    %r0,164(%r15)           # unsigned long
1637         stg     %r0,160(%r15)
1638         jg      compat_sys_process_vm_readv
1640 ENTRY(compat_sys_process_vm_writev_wrapper)
1641         lgfr    %r2,%r2                 # compat_pid_t
1642         llgtr   %r3,%r3                 # struct compat_iovec __user *
1643         llgfr   %r4,%r4                 # unsigned long
1644         llgtr   %r5,%r5                 # struct compat_iovec __user *
1645         llgfr   %r6,%r6                 # unsigned long
1646         llgf    %r0,164(%r15)           # unsigned long
1647         stg     %r0,160(%r15)
1648         jg      compat_sys_process_vm_writev
1650 ENTRY(sys_s390_runtime_instr_wrapper)
1651         lgfr    %r2,%r2                 # int
1652         lgfr    %r3,%r3                 # int
1653         jg      sys_s390_runtime_instr
1655 ENTRY(sys_kcmp_wrapper)
1656         lgfr    %r2,%r2                 # pid_t
1657         lgfr    %r3,%r3                 # pid_t
1658         lgfr    %r4,%r4                 # int
1659         llgfr   %r5,%r5                 # unsigned long
1660         llgfr   %r6,%r6                 # unsigned long
1661         jg      sys_kcmp