2 * arch/ppc/kernel/misc.S
6 * This file contains miscellaneous low-level functions.
7 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
9 * Largely rewritten by Cort Dougan (cort@cs.nmt.edu)
11 * Adapted for iSeries by Mike Corrigan (mikejc@us.ibm.com)
12 * PPC64 updates by Dave Engebretsen (engebret@us.ibm.com)
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version
17 * 2 of the License, or (at your option) any later version.
21 #include <linux/config.h>
22 #include <linux/sys.h>
23 #include <asm/unistd.h>
24 #include <asm/errno.h>
25 #include <asm/processor.h>
27 #include <asm/cache.h>
28 #include <asm/ppc_asm.h>
29 #include <asm/offsets.h>
30 #include <asm/cputable.h>
35 * Returns (address we're running at) - (address we were linked at)
36 * for use before the text and data are mapped to KERNELBASE.
68 #ifdef CONFIG_PPC_ISERIES
69 /* unsigned long __no_use_save_flags(void) */
70 _GLOBAL(__no_use_save_flags)
73 lbz r3,PACAPROCENABLED(r4)
76 /* void __no_use_restore_flags(unsigned long flags) */
77 _GLOBAL(__no_use_restore_flags)
79 * Just set/clear the MSR_EE bit through restore/flags but do not
80 * change anything else. This is needed by the RT system and makes
86 lbz r5,PACAPROCENABLED(r6)
87 /* Check if things are setup the way we want _already_. */
90 /* are we enabling interrupts? */
92 stb r3,PACAPROCENABLED(r6)
94 /* Check pending interrupts */
99 * Handle pending interrupts in interrupt context
105 _GLOBAL(__no_use_cli)
108 lbz r3,PACAPROCENABLED(r5)
110 stb r4,PACAPROCENABLED(r5)
113 _GLOBAL(__no_use_sti)
117 stb r3,PACAPROCENABLED(r6)
119 /* Check for pending interrupts
120 * A decrementer, IPI or PMC interrupt may have occurred
121 * while we were in the hypervisor (which enables)
127 * Handle pending interrupts in interrupt context
134 * Flush instruction cache.
136 _GLOBAL(flush_instruction_cache)
139 * This is called by kgdb code
140 * and should probably go away
141 * to be replaced by invalidating
142 * the cache lines that are actually
145 /* use invalidate-all bit in HID0
146 * - is this consistent across all 64-bit cpus? -- paulus */
155 * Write any modified data cache blocks out to memory
156 * and invalidate the corresponding instruction cache blocks.
158 * flush_icache_range(unsigned long start, unsigned long stop)
160 * flush all bytes from start through stop-1 inclusive
163 _GLOBAL(flush_icache_range)
166 * Flush the data cache to memory
168 * Different systems have different cache line sizes
169 * and in some cases i-cache and d-cache line sizes differ from
172 LOADADDR(r10,naca) /* Get Naca address */
174 LOADADDR(r11,systemcfg) /* Get systemcfg address */
176 lwz r7,DCACHEL1LINESIZE(r11)/* Get cache line size */
178 andc r6,r3,r5 /* round low to line bdy */
179 subf r8,r6,r4 /* compute length */
180 add r8,r8,r5 /* ensure we get enough */
181 lwz r9,DCACHEL1LOGLINESIZE(r10) /* Get log-2 of cache line size */
182 srw. r8,r8,r9 /* compute line count */
183 beqlr /* nothing to do? */
190 /* Now invalidate the instruction cache */
192 lwz r7,ICACHEL1LINESIZE(r11) /* Get Icache line size */
194 andc r6,r3,r5 /* round low to line bdy */
195 subf r8,r6,r4 /* compute length */
197 lwz r9,ICACHEL1LOGLINESIZE(r10) /* Get log-2 of Icache line size */
198 srw. r8,r8,r9 /* compute line count */
199 beqlr /* nothing to do? */
208 * Like above, but only do the D-cache.
210 * flush_dcache_range(unsigned long start, unsigned long stop)
212 * flush all bytes from start to stop-1 inclusive
214 _GLOBAL(flush_dcache_range)
217 * Flush the data cache to memory
219 * Different systems have different cache line sizes
221 LOADADDR(r10,naca) /* Get Naca address */
223 LOADADDR(r11,systemcfg) /* Get systemcfg address */
225 lwz r7,DCACHEL1LINESIZE(r11) /* Get dcache line size */
227 andc r6,r3,r5 /* round low to line bdy */
228 subf r8,r6,r4 /* compute length */
229 add r8,r8,r5 /* ensure we get enough */
230 lwz r9,DCACHEL1LOGLINESIZE(r10) /* Get log-2 of dcache line size */
231 srw. r8,r8,r9 /* compute line count */
232 beqlr /* nothing to do? */
241 * Flush a particular page from the data cache to RAM.
242 * Note: this is necessary because the instruction cache does *not*
243 * snoop from the data cache.
245 * void __flush_dcache_icache(void *page)
247 _GLOBAL(__flush_dcache_icache)
249 * Flush the data cache to memory
251 * Different systems have different cache line sizes
254 /* Flush the dcache */
257 LOADADDR(r8,systemcfg) /* Get systemcfg address */
259 clrrdi r3,r3,12 /* Page align */
260 lwz r4,DCACHEL1LINESPERPAGE(r7) /* Get # dcache lines per page */
261 lwz r5,DCACHEL1LINESIZE(r8) /* Get dcache line size */
269 /* Now invalidate the icache */
271 lwz r4,ICACHEL1LINESPERPAGE(r7) /* Get # icache lines per page */
272 lwz r5,ICACHEL1LINESIZE(r8) /* Get icache line size */
281 * I/O string operations
283 * insb(port, buf, len)
284 * outsb(port, buf, len)
285 * insw(port, buf, len)
286 * outsw(port, buf, len)
287 * insl(port, buf, len)
288 * outsl(port, buf, len)
289 * insw_ns(port, buf, len)
290 * outsw_ns(port, buf, len)
291 * insl_ns(port, buf, len)
292 * outsl_ns(port, buf, len)
294 * The *_ns versions don't do byte-swapping.
415 mr r3,r1 /* Close enough */
431 lfd 0,0(r5) /* load up fpscr value */
435 mffs 0 /* save new fpscr value */
440 lfd 0,0(r5) /* load up fpscr value */
444 mffs 0 /* save new fpscr value */
450 * In: r3 = base of the cpu_specs array
451 * r4 = address of cur_cpu_spec
452 * r5 = relocation offset
454 _GLOBAL(identify_cpu)
457 lwz r8,CPU_SPEC_PVR_MASK(r3)
459 lwz r9,CPU_SPEC_PVR_VALUE(r3)
462 addi r3,r3,CPU_SPEC_ENTRY_SIZE
470 * do_cpu_ftr_fixups - goes through the list of CPU feature fixups
471 * and writes nop's over sections of code that don't apply for this cpu.
472 * r3 = data offset (not changed)
474 _GLOBAL(do_cpu_ftr_fixups)
475 /* Get CPU 0 features */
476 LOADADDR(r6,cur_cpu_spec)
480 ld r4,CPU_SPEC_FEATURES(r4)
481 /* Get the fixup table */
482 LOADADDR(r6,__start___ftr_fixup)
484 LOADADDR(r7,__stop___ftr_fixup)
490 ld r8,-32(r6) /* mask */
492 ld r9,-24(r6) /* value */
495 ld r8,-16(r6) /* section begin */
496 ld r9,-8(r6) /* section end */
499 /* write nops over the section of code */
500 /* todo: if large section, add a branch at the start of it */
504 lis r0,0x60000000@h /* nop */
506 andi. r10,r4,CPU_FTR_SPLIT_ID_CACHE@l
508 dcbst 0,r8 /* suboptimal, but simpler */
513 sync /* additional sync needed on g4 */
518 * call_setup_cpu - call the setup_cpu function for this cpu
521 * Setup function is called with:
523 * r4 = ptr to CPU spec (relocated)
525 _GLOBAL(call_setup_cpu)
526 LOADADDR(r4, cur_cpu_spec)
528 lwz r4,0(r4) # load pointer to cpu_spec
529 sub r4,r4,r3 # relocate
530 lwz r6,CPU_SPEC_SETUP(r4) # load function pointer
538 * Create a kernel thread
539 * kernel_thread(fn, arg, flags)
541 _GLOBAL(kernel_thread)
544 stdu r1,-STACK_FRAME_OVERHEAD(r1)
547 ori r3,r5,CLONE_VM /* flags */
548 oris r3,r3,(CLONE_UNTRACED>>16)
549 li r4,0 /* new sp (unused) */
552 cmpi 0,r3,0 /* parent or child? */
553 bne 1f /* return if parent */
555 stdu r0,-STACK_FRAME_OVERHEAD(r1)
558 mtlr r29 /* fn addr in lr */
559 mr r3,r30 /* load arg and call fn */
561 li r0,__NR_exit /* exit after child exits */
564 1: addi r1,r1,STACK_FRAME_OVERHEAD
576 #define SYSCALL(name) \
581 ld r4,.SYSCALL_ERRNO@toc(2); \
586 #define __NR__exit __NR_exit
598 /* Why isn't this a) automatic, b) written in 'C'? */
600 _GLOBAL(sys_call_table32)
601 .llong .sys_restart_syscall /* 0 */
606 .llong .sys32_open /* 5 */
608 .llong .sys32_waitpid
611 .llong .sys_unlink /* 10 */
616 .llong .sys_chmod /* 15 */
618 .llong .sys_ni_syscall /* old break syscall */
619 .llong .sys_ni_syscall /* old stat syscall */
621 .llong .sys_getpid /* 20 */
623 .llong .sys_oldumount
626 .llong .ppc64_sys32_stime /* 25 */
629 .llong .sys_ni_syscall /* old fstat syscall */
631 .llong .compat_sys_utime /* 30 */
632 .llong .sys_ni_syscall /* old stty syscall */
633 .llong .sys_ni_syscall /* old gtty syscall */
636 .llong .sys_ni_syscall /* 35 - old ftime syscall */
641 .llong .sys_rmdir /* 40 */
644 .llong .compat_sys_times
645 .llong .sys_ni_syscall /* old prof syscall */
646 .llong .sys_brk /* 45 */
651 .llong .sys_getegid /* 50 */
654 .llong .sys_ni_syscall /* old lock syscall */
655 .llong .compat_sys_ioctl
656 .llong .compat_sys_fcntl /* 55 */
657 .llong .sys_ni_syscall /* old mpx syscall */
658 .llong .sys32_setpgid
659 .llong .sys_ni_syscall /* old ulimit syscall */
660 .llong .sys32_olduname
661 .llong .sys32_umask /* 60 */
666 .llong .sys_getpgrp /* 65 */
668 .llong .sys32_sigaction
670 .llong .sys32_ssetmask
671 .llong .sys_setreuid /* 70 */
673 .llong .sys32_sigsuspend
674 .llong .compat_sys_sigpending
675 .llong .sys32_sethostname
676 .llong .compat_sys_setrlimit /* 75 */
677 .llong .compat_sys_old_getrlimit
678 .llong .compat_sys_getrusage
679 .llong .sys32_gettimeofday
680 .llong .sys32_settimeofday
681 .llong .sys32_getgroups /* 80 */
682 .llong .sys32_setgroups
683 .llong .sys_ni_syscall /* old select syscall */
685 .llong .sys_ni_syscall /* old lstat syscall */
686 .llong .sys32_readlink /* 85 */
690 .llong .old32_readdir
691 .llong .sys_mmap /* 90 */
694 .llong .sys_ftruncate
696 .llong .sys_fchown /* 95 */
697 .llong .sys32_getpriority
698 .llong .sys32_setpriority
699 .llong .sys_ni_syscall /* old profil syscall */
700 .llong .compat_sys_statfs
701 .llong .compat_sys_fstatfs /* 100 */
702 .llong .sys_ni_syscall /* old ioperm syscall */
703 .llong .compat_sys_socketcall
705 .llong .compat_sys_setitimer
706 .llong .compat_sys_getitimer /* 105 */
707 .llong .compat_sys_newstat
708 .llong .compat_sys_newlstat
709 .llong .compat_sys_newfstat
711 .llong .sys_ni_syscall /* 110 old iopl syscall */
713 .llong .sys_ni_syscall /* old idle syscall */
714 .llong .sys_ni_syscall /* old vm86 syscall */
715 .llong .compat_sys_wait4
716 .llong .sys_swapoff /* 115 */
717 .llong .sys32_sysinfo
720 .llong .ppc32_sigreturn
721 .llong .sys_clone /* 120 */
722 .llong .sys32_setdomainname
723 .llong .ppc64_newuname
724 .llong .sys_ni_syscall /* old modify_ldt syscall */
725 .llong .sys32_adjtimex
726 .llong .sys_mprotect /* 125 */
727 .llong .compat_sys_sigprocmask
728 .llong .sys_ni_syscall /* old create_module syscall */
729 .llong .sys_init_module
730 .llong .sys_delete_module
731 .llong .sys_ni_syscall /* 130 old get_kernel_syms syscall */
733 .llong .sys32_getpgid
736 .llong .sys32_sysfs /* 135 */
737 .llong .ppc64_personality
738 .llong .sys_ni_syscall /* for afs_syscall */
741 .llong .sys_llseek /* 140 */
742 .llong .sys32_getdents
746 .llong .sys32_readv /* 145 */
749 .llong .sys_fdatasync
751 .llong .sys_mlock /* 150 */
753 .llong .sys32_mlockall
754 .llong .sys_munlockall
755 .llong .sys32_sched_setparam
756 .llong .sys32_sched_getparam /* 155 */
757 .llong .sys32_sched_setscheduler
758 .llong .sys32_sched_getscheduler
759 .llong .sys_sched_yield
760 .llong .sys32_sched_get_priority_max
761 .llong .sys32_sched_get_priority_min /* 160 */
762 .llong .sys32_sched_rr_get_interval
763 .llong .compat_sys_nanosleep
765 .llong .sys_setresuid
766 .llong .sys_getresuid /* 165 */
767 .llong .sys_ni_syscall /* old query_module syscall */
769 .llong .sys32_nfsservctl
770 .llong .sys_setresgid
771 .llong .sys_getresgid /* 170 */
773 .llong .ppc32_rt_sigreturn
774 .llong .sys32_rt_sigaction
775 .llong .sys32_rt_sigprocmask
776 .llong .sys32_rt_sigpending /* 175 */
777 .llong .sys32_rt_sigtimedwait
778 .llong .sys32_rt_sigqueueinfo
779 .llong .sys32_rt_sigsuspend
780 .llong .sys32_pread64
781 .llong .sys32_pwrite64 /* 180 */
786 .llong .sys32_sigaltstack /* 185 */
787 .llong .sys32_sendfile
788 .llong .sys_ni_syscall /* reserved for streams1 */
789 .llong .sys_ni_syscall /* reserved for streams2 */
791 .llong .compat_sys_getrlimit /* 190 */
792 .llong .sys32_readahead
794 .llong .sys32_truncate64
795 .llong .sys32_ftruncate64
796 .llong .sys_stat64 /* 195 */
799 .llong .sys32_pciconfig_read
800 .llong .sys32_pciconfig_write
801 .llong .sys_ni_syscall /* 200 - old pciconfig_iobase */
802 .llong .sys_ni_syscall /* reserved for MacOnLinux */
803 .llong .sys_getdents64
804 .llong .sys_pivot_root
805 .llong .compat_sys_fcntl64
806 .llong .sys_madvise /* 205 */
811 .llong .sys_lsetxattr /* 210 */
812 .llong .sys_fsetxattr
814 .llong .sys_lgetxattr
815 .llong .sys_fgetxattr
816 .llong .sys_listxattr /* 215 */
817 .llong .sys_llistxattr
818 .llong .sys_flistxattr
819 .llong .sys_removexattr
820 .llong .sys_lremovexattr
821 .llong .sys_fremovexattr /* 220 */
822 .llong .compat_sys_futex
823 .llong .compat_sys_sched_setaffinity
824 .llong .compat_sys_sched_getaffinity
825 .llong .sys_ni_syscall
826 .llong .sys_ni_syscall /* 225 - reserved for tux */
827 .llong .sys32_sendfile64
828 .llong .sys32_io_setup
829 .llong .sys_io_destroy
830 .llong .sys32_io_getevents
831 .llong .sys32_io_submit
832 .llong .sys_io_cancel
833 .llong .sys_set_tid_address
834 .llong .ppc32_fadvise64
835 .llong .sys_exit_group
836 .llong .ppc32_lookup_dcookie /* 235 */
837 .llong .sys_epoll_create
838 .llong .sys_epoll_ctl
839 .llong .sys_epoll_wait
840 .llong .sys_remap_file_pages
841 .llong .sys_ni_syscall /* 240 */
842 .llong .sys_ni_syscall
843 .llong .sys_ni_syscall
844 .llong .sys_ni_syscall
845 .llong .sys_ni_syscall
846 .llong .sys_ni_syscall /* 245 */
847 .llong .sys_ni_syscall
848 .llong .sys_ni_syscall
849 .llong .sys_ni_syscall
850 .llong .sys_ni_syscall
851 .llong .sys32_tgkill /* 250 */
854 .llong .sys_fstatfs64
857 _GLOBAL(sys_call_table)
858 .llong .sys_restart_syscall /* 0 */
863 .llong .sys_open /* 5 */
868 .llong .sys_unlink /* 10 */
873 .llong .sys_chmod /* 15 */
875 .llong .sys_ni_syscall /* old break syscall */
876 .llong .sys_ni_syscall /* old stat syscall */
878 .llong .sys_getpid /* 20 */
880 .llong .sys_ni_syscall /* old umount syscall */
883 .llong .ppc64_sys_stime /* 25 */
886 .llong .sys_ni_syscall /* old fstat syscall */
888 .llong .sys_utime /* 30 */
889 .llong .sys_ni_syscall /* old stty syscall */
890 .llong .sys_ni_syscall /* old gtty syscall */
893 .llong .sys_ni_syscall /* 35 - old ftime syscall */
898 .llong .sys_rmdir /* 40 */
902 .llong .sys_ni_syscall /* old prof syscall */
903 .llong .sys_brk /* 45 */
908 .llong .sys_getegid /* 50 */
911 .llong .sys_ni_syscall /* old lock syscall */
913 .llong .sys_fcntl /* 55 */
914 .llong .sys_ni_syscall /* old mpx syscall */
916 .llong .sys_ni_syscall /* old ulimit syscall */
917 .llong .sys_ni_syscall /* old uname syscall */
918 .llong .sys_umask /* 60 */
923 .llong .sys_getpgrp /* 65 */
925 .llong .sys_ni_syscall
928 .llong .sys_setreuid /* 70 */
930 .llong .sys_ni_syscall
931 .llong .sys_ni_syscall
932 .llong .sys_sethostname
933 .llong .sys_setrlimit /* 75 */
934 .llong .sys_ni_syscall /* old getrlimit syscall */
935 .llong .sys_getrusage
936 .llong .sys_gettimeofday
937 .llong .sys_settimeofday
938 .llong .sys_getgroups /* 80 */
939 .llong .sys_setgroups
940 .llong .sys_ni_syscall /* old select syscall */
942 .llong .sys_ni_syscall /* old lstat syscall */
943 .llong .sys_readlink /* 85 */
947 .llong .sys_ni_syscall /* old readdir syscall */
948 .llong .sys_mmap /* 90 */
951 .llong .sys_ftruncate
953 .llong .sys_fchown /* 95 */
954 .llong .sys_getpriority
955 .llong .sys_setpriority
956 .llong .sys_ni_syscall /* old profil syscall holder */
958 .llong .sys_fstatfs /* 100 */
959 .llong .sys_ni_syscall /* old ioperm syscall */
960 .llong .sys_socketcall
962 .llong .sys_setitimer
963 .llong .sys_getitimer /* 105 */
967 .llong .sys_ni_syscall /* old uname syscall */
968 .llong .sys_ni_syscall /* 110 old iopl syscall */
970 .llong .sys_ni_syscall /* old idle syscall */
971 .llong .sys_ni_syscall /* old vm86 syscall */
973 .llong .sys_swapoff /* 115 */
977 .llong .sys_ni_syscall
978 .llong .sys_clone /* 120 */
979 .llong .sys_setdomainname
980 .llong .ppc64_newuname
981 .llong .sys_ni_syscall /* old modify_ldt syscall */
983 .llong .sys_mprotect /* 125 */
984 .llong .sys_ni_syscall
985 .llong .sys_ni_syscall /* old create_module syscall */
986 .llong .sys_init_module
987 .llong .sys_delete_module
988 .llong .sys_ni_syscall /* 130 old get_kernel_syms syscall */
993 .llong .sys_sysfs /* 135 */
994 .llong .ppc64_personality
995 .llong .sys_ni_syscall /* for afs_syscall */
998 .llong .sys_llseek /* 140 */
1003 .llong .sys_readv /* 145 */
1006 .llong .sys_fdatasync
1008 .llong .sys_mlock /* 150 */
1010 .llong .sys_mlockall
1011 .llong .sys_munlockall
1012 .llong .sys_sched_setparam
1013 .llong .sys_sched_getparam /* 155 */
1014 .llong .sys_sched_setscheduler
1015 .llong .sys_sched_getscheduler
1016 .llong .sys_sched_yield
1017 .llong .sys_sched_get_priority_max
1018 .llong .sys_sched_get_priority_min /* 160 */
1019 .llong .sys_sched_rr_get_interval
1020 .llong .sys_nanosleep
1022 .llong .sys_setresuid
1023 .llong .sys_getresuid /* 165 */
1024 .llong .sys_ni_syscall /* old query_module syscall */
1026 .llong .sys_nfsservctl
1027 .llong .sys_setresgid
1028 .llong .sys_getresgid /* 170 */
1030 .llong .ppc64_rt_sigreturn
1031 .llong .sys_rt_sigaction
1032 .llong .sys_rt_sigprocmask
1033 .llong .sys_rt_sigpending /* 175 */
1034 .llong .sys_rt_sigtimedwait
1035 .llong .sys_rt_sigqueueinfo
1036 .llong .sys_rt_sigsuspend
1038 .llong .sys_pwrite64 /* 180 */
1043 .llong .sys_sigaltstack /* 185 */
1044 .llong .sys_sendfile
1045 .llong .sys_ni_syscall /* reserved for streams1 */
1046 .llong .sys_ni_syscall /* reserved for streams2 */
1048 .llong .sys_getrlimit /* 190 */
1049 .llong .sys_readahead
1050 .llong .sys_ni_syscall /* 32bit only mmap2 */
1051 .llong .sys_ni_syscall /* 32bit only truncate64 */
1052 .llong .sys_ni_syscall /* 32bit only ftruncate64 */
1053 .llong .sys_ni_syscall /* 195 - 32bit only stat64 */
1054 .llong .sys_ni_syscall /* 32bit only lstat64 */
1055 .llong .sys_ni_syscall /* 32bit only fstat64 */
1056 .llong .sys_ni_syscall /* 32bit only pciconfig_read */
1057 .llong .sys_ni_syscall /* 32bit only pciconfig_write */
1058 .llong .sys_ni_syscall /* 200 - old pciconfig_iobase */
1059 .llong .sys_ni_syscall /* reserved for MacOnLinux */
1060 .llong .sys_getdents64
1061 .llong .sys_pivot_root
1062 .llong .sys_ni_syscall /* 32bit only fcntl64 */
1063 .llong .sys_madvise /* 205 */
1067 .llong .sys_setxattr
1068 .llong .sys_lsetxattr /* 210 */
1069 .llong .sys_fsetxattr
1070 .llong .sys_getxattr
1071 .llong .sys_lgetxattr
1072 .llong .sys_fgetxattr
1073 .llong .sys_listxattr /* 215 */
1074 .llong .sys_llistxattr
1075 .llong .sys_flistxattr
1076 .llong .sys_removexattr
1077 .llong .sys_lremovexattr
1078 .llong .sys_fremovexattr /* 220 */
1080 .llong .sys_sched_setaffinity
1081 .llong .sys_sched_getaffinity
1082 .llong .sys_ni_syscall
1083 .llong .sys_ni_syscall /* 225 - reserved for tux */
1084 .llong .sys_ni_syscall /* 32bit only sendfile64 */
1085 .llong .sys_io_setup
1086 .llong .sys_io_destroy
1087 .llong .sys_io_getevents
1088 .llong .sys_io_submit /* 230 */
1089 .llong .sys_io_cancel
1090 .llong .sys_set_tid_address
1091 .llong .sys_fadvise64
1092 .llong .sys_exit_group
1093 .llong .sys_lookup_dcookie /* 235 */
1094 .llong .sys_epoll_create
1095 .llong .sys_epoll_ctl
1096 .llong .sys_epoll_wait
1097 .llong .sys_remap_file_pages
1098 .llong .sys_timer_create /* 240 */
1099 .llong .sys_timer_settime
1100 .llong .sys_timer_gettime
1101 .llong .sys_timer_getoverrun
1102 .llong .sys_timer_delete
1103 .llong .sys_clock_settime /* 245 */
1104 .llong .sys_clock_gettime
1105 .llong .sys_clock_getres
1106 .llong .sys_clock_nanosleep
1107 .llong .sys_ni_syscall
1108 .llong .sys_tgkill /* 250 */
1110 .llong .sys_statfs64
1111 .llong .sys_fstatfs64