diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-10-18 00:51:57 -0400 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-10-18 00:51:57 -0400 |
commit | b09a4913b15d2544f8918f05b9937cb4e99a2319 (patch) | |
tree | ed8e4764e6358f18e5641f6fba5815ea88ac1f5e /arch/ppc64/kernel/misc.S | |
parent | 81e7009ea46c951860b8716ee427ff4f54dd26fc (diff) |
powerpc: change sys32_ to compat_sys_
This allows us to get rid of one type of entry in systbl.S.
In passing we remove the duplicate compat_sys_getdents and
compat_sys_utimes for which there are generic versions.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/ppc64/kernel/misc.S')
-rw-r--r-- | arch/ppc64/kernel/misc.S | 122 |
1 files changed, 61 insertions, 61 deletions
diff --git a/arch/ppc64/kernel/misc.S b/arch/ppc64/kernel/misc.S index eb407c429bb0..ea8b6cf32c38 100644 --- a/arch/ppc64/kernel/misc.S +++ b/arch/ppc64/kernel/misc.S | |||
@@ -928,11 +928,11 @@ _GLOBAL(sys_call_table32) | |||
928 | .llong .sys_write | 928 | .llong .sys_write |
929 | .llong .compat_sys_open /* 5 */ | 929 | .llong .compat_sys_open /* 5 */ |
930 | .llong .sys_close | 930 | .llong .sys_close |
931 | .llong .sys32_waitpid | 931 | .llong .compat_sys_waitpid |
932 | .llong .sys32_creat | 932 | .llong .compat_sys_creat |
933 | .llong .sys_link | 933 | .llong .sys_link |
934 | .llong .sys_unlink /* 10 */ | 934 | .llong .sys_unlink /* 10 */ |
935 | .llong .sys32_execve | 935 | .llong .compat_sys_execve |
936 | .llong .sys_chdir | 936 | .llong .sys_chdir |
937 | .llong .compat_sys_time | 937 | .llong .compat_sys_time |
938 | .llong .sys_mknod | 938 | .llong .sys_mknod |
@@ -947,20 +947,20 @@ _GLOBAL(sys_call_table32) | |||
947 | .llong .sys_setuid | 947 | .llong .sys_setuid |
948 | .llong .sys_getuid | 948 | .llong .sys_getuid |
949 | .llong .compat_sys_stime /* 25 */ | 949 | .llong .compat_sys_stime /* 25 */ |
950 | .llong .sys32_ptrace | 950 | .llong .compat_sys_ptrace |
951 | .llong .sys_alarm | 951 | .llong .sys_alarm |
952 | .llong .sys_ni_syscall /* old fstat syscall */ | 952 | .llong .sys_ni_syscall /* old fstat syscall */ |
953 | .llong .sys32_pause | 953 | .llong .compat_sys_pause |
954 | .llong .compat_sys_utime /* 30 */ | 954 | .llong .compat_sys_utime /* 30 */ |
955 | .llong .sys_ni_syscall /* old stty syscall */ | 955 | .llong .sys_ni_syscall /* old stty syscall */ |
956 | .llong .sys_ni_syscall /* old gtty syscall */ | 956 | .llong .sys_ni_syscall /* old gtty syscall */ |
957 | .llong .sys32_access | 957 | .llong .compat_sys_access |
958 | .llong .sys32_nice | 958 | .llong .compat_sys_nice |
959 | .llong .sys_ni_syscall /* 35 - old ftime syscall */ | 959 | .llong .sys_ni_syscall /* 35 - old ftime syscall */ |
960 | .llong .sys_sync | 960 | .llong .sys_sync |
961 | .llong .sys32_kill | 961 | .llong .compat_sys_kill |
962 | .llong .sys_rename | 962 | .llong .sys_rename |
963 | .llong .sys32_mkdir | 963 | .llong .compat_sys_mkdir |
964 | .llong .sys_rmdir /* 40 */ | 964 | .llong .sys_rmdir /* 40 */ |
965 | .llong .sys_dup | 965 | .llong .sys_dup |
966 | .llong .sys_pipe | 966 | .llong .sys_pipe |
@@ -978,35 +978,35 @@ _GLOBAL(sys_call_table32) | |||
978 | .llong .compat_sys_ioctl | 978 | .llong .compat_sys_ioctl |
979 | .llong .compat_sys_fcntl /* 55 */ | 979 | .llong .compat_sys_fcntl /* 55 */ |
980 | .llong .sys_ni_syscall /* old mpx syscall */ | 980 | .llong .sys_ni_syscall /* old mpx syscall */ |
981 | .llong .sys32_setpgid | 981 | .llong .compat_sys_setpgid |
982 | .llong .sys_ni_syscall /* old ulimit syscall */ | 982 | .llong .sys_ni_syscall /* old ulimit syscall */ |
983 | .llong .sys_olduname | 983 | .llong .sys_olduname |
984 | .llong .sys32_umask /* 60 */ | 984 | .llong .compat_sys_umask /* 60 */ |
985 | .llong .sys_chroot | 985 | .llong .sys_chroot |
986 | .llong .sys_ustat | 986 | .llong .sys_ustat |
987 | .llong .sys_dup2 | 987 | .llong .sys_dup2 |
988 | .llong .sys_getppid | 988 | .llong .sys_getppid |
989 | .llong .sys_getpgrp /* 65 */ | 989 | .llong .sys_getpgrp /* 65 */ |
990 | .llong .sys_setsid | 990 | .llong .sys_setsid |
991 | .llong .sys32_sigaction | 991 | .llong .compat_sys_sigaction |
992 | .llong .sys_sgetmask | 992 | .llong .sys_sgetmask |
993 | .llong .sys32_ssetmask | 993 | .llong .compat_sys_ssetmask |
994 | .llong .sys_setreuid /* 70 */ | 994 | .llong .sys_setreuid /* 70 */ |
995 | .llong .sys_setregid | 995 | .llong .sys_setregid |
996 | .llong .ppc32_sigsuspend | 996 | .llong .ppc32_sigsuspend |
997 | .llong .compat_sys_sigpending | 997 | .llong .compat_sys_sigpending |
998 | .llong .sys32_sethostname | 998 | .llong .compat_sys_sethostname |
999 | .llong .compat_sys_setrlimit /* 75 */ | 999 | .llong .compat_sys_setrlimit /* 75 */ |
1000 | .llong .compat_sys_old_getrlimit | 1000 | .llong .compat_sys_old_getrlimit |
1001 | .llong .compat_sys_getrusage | 1001 | .llong .compat_sys_getrusage |
1002 | .llong .sys32_gettimeofday | 1002 | .llong .compat_sys_gettimeofday |
1003 | .llong .sys32_settimeofday | 1003 | .llong .compat_sys_settimeofday |
1004 | .llong .sys32_getgroups /* 80 */ | 1004 | .llong .compat_sys_getgroups /* 80 */ |
1005 | .llong .sys32_setgroups | 1005 | .llong .compat_sys_setgroups |
1006 | .llong .sys_ni_syscall /* old select syscall */ | 1006 | .llong .sys_ni_syscall /* old select syscall */ |
1007 | .llong .sys_symlink | 1007 | .llong .sys_symlink |
1008 | .llong .sys_ni_syscall /* old lstat syscall */ | 1008 | .llong .sys_ni_syscall /* old lstat syscall */ |
1009 | .llong .sys32_readlink /* 85 */ | 1009 | .llong .compat_sys_readlink /* 85 */ |
1010 | .llong .sys_uselib | 1010 | .llong .sys_uselib |
1011 | .llong .sys_swapon | 1011 | .llong .sys_swapon |
1012 | .llong .sys_reboot | 1012 | .llong .sys_reboot |
@@ -1017,14 +1017,14 @@ _GLOBAL(sys_call_table32) | |||
1017 | .llong .sys_ftruncate | 1017 | .llong .sys_ftruncate |
1018 | .llong .sys_fchmod | 1018 | .llong .sys_fchmod |
1019 | .llong .sys_fchown /* 95 */ | 1019 | .llong .sys_fchown /* 95 */ |
1020 | .llong .sys32_getpriority | 1020 | .llong .compat_sys_getpriority |
1021 | .llong .sys32_setpriority | 1021 | .llong .compat_sys_setpriority |
1022 | .llong .sys_ni_syscall /* old profil syscall */ | 1022 | .llong .sys_ni_syscall /* old profil syscall */ |
1023 | .llong .compat_sys_statfs | 1023 | .llong .compat_sys_statfs |
1024 | .llong .compat_sys_fstatfs /* 100 */ | 1024 | .llong .compat_sys_fstatfs /* 100 */ |
1025 | .llong .sys_ni_syscall /* old ioperm syscall */ | 1025 | .llong .sys_ni_syscall /* old ioperm syscall */ |
1026 | .llong .compat_sys_socketcall | 1026 | .llong .compat_sys_socketcall |
1027 | .llong .sys32_syslog | 1027 | .llong .compat_sys_syslog |
1028 | .llong .compat_sys_setitimer | 1028 | .llong .compat_sys_setitimer |
1029 | .llong .compat_sys_getitimer /* 105 */ | 1029 | .llong .compat_sys_getitimer /* 105 */ |
1030 | .llong .compat_sys_newstat | 1030 | .llong .compat_sys_newstat |
@@ -1037,15 +1037,15 @@ _GLOBAL(sys_call_table32) | |||
1037 | .llong .sys_ni_syscall /* old vm86 syscall */ | 1037 | .llong .sys_ni_syscall /* old vm86 syscall */ |
1038 | .llong .compat_sys_wait4 | 1038 | .llong .compat_sys_wait4 |
1039 | .llong .sys_swapoff /* 115 */ | 1039 | .llong .sys_swapoff /* 115 */ |
1040 | .llong .sys32_sysinfo | 1040 | .llong .compat_sys_sysinfo |
1041 | .llong .sys32_ipc | 1041 | .llong .compat_sys_ipc |
1042 | .llong .sys_fsync | 1042 | .llong .sys_fsync |
1043 | .llong .ppc32_sigreturn | 1043 | .llong .ppc32_sigreturn |
1044 | .llong .ppc_clone /* 120 */ | 1044 | .llong .ppc_clone /* 120 */ |
1045 | .llong .sys32_setdomainname | 1045 | .llong .compat_sys_setdomainname |
1046 | .llong .ppc_newuname | 1046 | .llong .ppc_newuname |
1047 | .llong .sys_ni_syscall /* old modify_ldt syscall */ | 1047 | .llong .sys_ni_syscall /* old modify_ldt syscall */ |
1048 | .llong .sys32_adjtimex | 1048 | .llong .compat_sys_adjtimex |
1049 | .llong .sys_mprotect /* 125 */ | 1049 | .llong .sys_mprotect /* 125 */ |
1050 | .llong .compat_sys_sigprocmask | 1050 | .llong .compat_sys_sigprocmask |
1051 | .llong .sys_ni_syscall /* old create_module syscall */ | 1051 | .llong .sys_ni_syscall /* old create_module syscall */ |
@@ -1053,36 +1053,36 @@ _GLOBAL(sys_call_table32) | |||
1053 | .llong .sys_delete_module | 1053 | .llong .sys_delete_module |
1054 | .llong .sys_ni_syscall /* 130 old get_kernel_syms syscall */ | 1054 | .llong .sys_ni_syscall /* 130 old get_kernel_syms syscall */ |
1055 | .llong .sys_quotactl | 1055 | .llong .sys_quotactl |
1056 | .llong .sys32_getpgid | 1056 | .llong .compat_sys_getpgid |
1057 | .llong .sys_fchdir | 1057 | .llong .sys_fchdir |
1058 | .llong .sys_bdflush | 1058 | .llong .sys_bdflush |
1059 | .llong .sys32_sysfs /* 135 */ | 1059 | .llong .compat_sys_sysfs /* 135 */ |
1060 | .llong .ppc64_personality | 1060 | .llong .ppc64_personality |
1061 | .llong .sys_ni_syscall /* for afs_syscall */ | 1061 | .llong .sys_ni_syscall /* for afs_syscall */ |
1062 | .llong .sys_setfsuid | 1062 | .llong .sys_setfsuid |
1063 | .llong .sys_setfsgid | 1063 | .llong .sys_setfsgid |
1064 | .llong .sys_llseek /* 140 */ | 1064 | .llong .sys_llseek /* 140 */ |
1065 | .llong .sys32_getdents | 1065 | .llong .compat_sys_getdents |
1066 | .llong .ppc32_select | 1066 | .llong .ppc32_select |
1067 | .llong .sys_flock | 1067 | .llong .sys_flock |
1068 | .llong .sys_msync | 1068 | .llong .sys_msync |
1069 | .llong .compat_sys_readv /* 145 */ | 1069 | .llong .compat_sys_readv /* 145 */ |
1070 | .llong .compat_sys_writev | 1070 | .llong .compat_sys_writev |
1071 | .llong .sys32_getsid | 1071 | .llong .compat_sys_getsid |
1072 | .llong .sys_fdatasync | 1072 | .llong .sys_fdatasync |
1073 | .llong .sys32_sysctl | 1073 | .llong .compat_sys_sysctl |
1074 | .llong .sys_mlock /* 150 */ | 1074 | .llong .sys_mlock /* 150 */ |
1075 | .llong .sys_munlock | 1075 | .llong .sys_munlock |
1076 | .llong .sys_mlockall | 1076 | .llong .sys_mlockall |
1077 | .llong .sys_munlockall | 1077 | .llong .sys_munlockall |
1078 | .llong .sys32_sched_setparam | 1078 | .llong .compat_sys_sched_setparam |
1079 | .llong .sys32_sched_getparam /* 155 */ | 1079 | .llong .compat_sys_sched_getparam /* 155 */ |
1080 | .llong .sys32_sched_setscheduler | 1080 | .llong .compat_sys_sched_setscheduler |
1081 | .llong .sys32_sched_getscheduler | 1081 | .llong .compat_sys_sched_getscheduler |
1082 | .llong .sys_sched_yield | 1082 | .llong .sys_sched_yield |
1083 | .llong .sys32_sched_get_priority_max | 1083 | .llong .compat_sys_sched_get_priority_max |
1084 | .llong .sys32_sched_get_priority_min /* 160 */ | 1084 | .llong .compat_sys_sched_get_priority_min /* 160 */ |
1085 | .llong .sys32_sched_rr_get_interval | 1085 | .llong .compat_sys_sched_rr_get_interval |
1086 | .llong .compat_sys_nanosleep | 1086 | .llong .compat_sys_nanosleep |
1087 | .llong .sys_mremap | 1087 | .llong .sys_mremap |
1088 | .llong .sys_setresuid | 1088 | .llong .sys_setresuid |
@@ -1092,36 +1092,36 @@ _GLOBAL(sys_call_table32) | |||
1092 | .llong .compat_sys_nfsservctl | 1092 | .llong .compat_sys_nfsservctl |
1093 | .llong .sys_setresgid | 1093 | .llong .sys_setresgid |
1094 | .llong .sys_getresgid /* 170 */ | 1094 | .llong .sys_getresgid /* 170 */ |
1095 | .llong .sys32_prctl | 1095 | .llong .compat_sys_prctl |
1096 | .llong .ppc32_rt_sigreturn | 1096 | .llong .ppc32_rt_sigreturn |
1097 | .llong .sys32_rt_sigaction | 1097 | .llong .compat_sys_rt_sigaction |
1098 | .llong .sys32_rt_sigprocmask | 1098 | .llong .compat_sys_rt_sigprocmask |
1099 | .llong .sys32_rt_sigpending /* 175 */ | 1099 | .llong .compat_sys_rt_sigpending /* 175 */ |
1100 | .llong .compat_sys_rt_sigtimedwait | 1100 | .llong .compat_sys_rt_sigtimedwait |
1101 | .llong .sys32_rt_sigqueueinfo | 1101 | .llong .compat_sys_rt_sigqueueinfo |
1102 | .llong .ppc32_rt_sigsuspend | 1102 | .llong .ppc32_rt_sigsuspend |
1103 | .llong .sys32_pread64 | 1103 | .llong .compat_sys_pread64 |
1104 | .llong .sys32_pwrite64 /* 180 */ | 1104 | .llong .compat_sys_pwrite64 /* 180 */ |
1105 | .llong .sys_chown | 1105 | .llong .sys_chown |
1106 | .llong .sys_getcwd | 1106 | .llong .sys_getcwd |
1107 | .llong .sys_capget | 1107 | .llong .sys_capget |
1108 | .llong .sys_capset | 1108 | .llong .sys_capset |
1109 | .llong .sys32_sigaltstack /* 185 */ | 1109 | .llong .compat_sys_sigaltstack /* 185 */ |
1110 | .llong .sys32_sendfile | 1110 | .llong .compat_sys_sendfile |
1111 | .llong .sys_ni_syscall /* reserved for streams1 */ | 1111 | .llong .sys_ni_syscall /* reserved for streams1 */ |
1112 | .llong .sys_ni_syscall /* reserved for streams2 */ | 1112 | .llong .sys_ni_syscall /* reserved for streams2 */ |
1113 | .llong .ppc_vfork | 1113 | .llong .ppc_vfork |
1114 | .llong .compat_sys_getrlimit /* 190 */ | 1114 | .llong .compat_sys_getrlimit /* 190 */ |
1115 | .llong .sys32_readahead | 1115 | .llong .compat_sys_readahead |
1116 | .llong .sys32_mmap2 | 1116 | .llong .compat_sys_mmap2 |
1117 | .llong .sys32_truncate64 | 1117 | .llong .compat_sys_truncate64 |
1118 | .llong .sys32_ftruncate64 | 1118 | .llong .compat_sys_ftruncate64 |
1119 | .llong .sys_stat64 /* 195 */ | 1119 | .llong .sys_stat64 /* 195 */ |
1120 | .llong .sys_lstat64 | 1120 | .llong .sys_lstat64 |
1121 | .llong .sys_fstat64 | 1121 | .llong .sys_fstat64 |
1122 | .llong .sys32_pciconfig_read | 1122 | .llong .compat_sys_pciconfig_read |
1123 | .llong .sys32_pciconfig_write | 1123 | .llong .compat_sys_pciconfig_write |
1124 | .llong .sys32_pciconfig_iobase /* 200 - pciconfig_iobase */ | 1124 | .llong .compat_sys_pciconfig_iobase /* 200 - pciconfig_iobase */ |
1125 | .llong .sys_ni_syscall /* reserved for MacOnLinux */ | 1125 | .llong .sys_ni_syscall /* reserved for MacOnLinux */ |
1126 | .llong .sys_getdents64 | 1126 | .llong .sys_getdents64 |
1127 | .llong .sys_pivot_root | 1127 | .llong .sys_pivot_root |
@@ -1147,7 +1147,7 @@ _GLOBAL(sys_call_table32) | |||
1147 | .llong .compat_sys_sched_getaffinity | 1147 | .llong .compat_sys_sched_getaffinity |
1148 | .llong .sys_ni_syscall | 1148 | .llong .sys_ni_syscall |
1149 | .llong .sys_ni_syscall /* 225 - reserved for tux */ | 1149 | .llong .sys_ni_syscall /* 225 - reserved for tux */ |
1150 | .llong .sys32_sendfile64 | 1150 | .llong .compat_sys_sendfile64 |
1151 | .llong .compat_sys_io_setup | 1151 | .llong .compat_sys_io_setup |
1152 | .llong .sys_io_destroy | 1152 | .llong .sys_io_destroy |
1153 | .llong .compat_sys_io_getevents | 1153 | .llong .compat_sys_io_getevents |
@@ -1171,8 +1171,8 @@ _GLOBAL(sys_call_table32) | |||
1171 | .llong .compat_sys_clock_getres | 1171 | .llong .compat_sys_clock_getres |
1172 | .llong .compat_sys_clock_nanosleep | 1172 | .llong .compat_sys_clock_nanosleep |
1173 | .llong .ppc32_swapcontext | 1173 | .llong .ppc32_swapcontext |
1174 | .llong .sys32_tgkill /* 250 */ | 1174 | .llong .compat_sys_tgkill /* 250 */ |
1175 | .llong .sys32_utimes | 1175 | .llong .compat_sys_utimes |
1176 | .llong .compat_sys_statfs64 | 1176 | .llong .compat_sys_statfs64 |
1177 | .llong .compat_sys_fstatfs64 | 1177 | .llong .compat_sys_fstatfs64 |
1178 | .llong .ppc32_fadvise64_64 /* 32bit only fadvise64_64 */ | 1178 | .llong .ppc32_fadvise64_64 /* 32bit only fadvise64_64 */ |
@@ -1190,12 +1190,12 @@ _GLOBAL(sys_call_table32) | |||
1190 | .llong .compat_sys_mq_notify | 1190 | .llong .compat_sys_mq_notify |
1191 | .llong .compat_sys_mq_getsetattr | 1191 | .llong .compat_sys_mq_getsetattr |
1192 | .llong .compat_sys_kexec_load | 1192 | .llong .compat_sys_kexec_load |
1193 | .llong .sys32_add_key | 1193 | .llong .compat_sys_add_key |
1194 | .llong .sys32_request_key /* 270 */ | 1194 | .llong .compat_sys_request_key /* 270 */ |
1195 | .llong .compat_sys_keyctl | 1195 | .llong .compat_sys_keyctl |
1196 | .llong .compat_sys_waitid | 1196 | .llong .compat_sys_waitid |
1197 | .llong .sys32_ioprio_set | 1197 | .llong .compat_sys_ioprio_set |
1198 | .llong .sys32_ioprio_get | 1198 | .llong .compat_sys_ioprio_get |
1199 | .llong .sys_inotify_init /* 275 */ | 1199 | .llong .sys_inotify_init /* 275 */ |
1200 | .llong .sys_inotify_add_watch | 1200 | .llong .sys_inotify_add_watch |
1201 | .llong .sys_inotify_rm_watch | 1201 | .llong .sys_inotify_rm_watch |