diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-19 19:15:05 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-19 19:15:05 -0400 |
commit | 03f88e9f7145b03fd0d855918d54a3bf5342ac5e (patch) | |
tree | 9784f24cda3a16c668dd9c4a6c444bd04d76e12b | |
parent | b123923d486d38e1a961e82040a26838401aebb5 (diff) |
ppc64: Minor compilation fixes
This defines CONFIG_PPC_STD_MMU for ppc64, changes an instance of
sys32_ to compat_sys_ in the ppc64 syscall table, and removes a
reference to a non-existent arch/powerpc/xmon/Makefile.
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | arch/powerpc/Makefile | 2 | ||||
-rw-r--r-- | arch/ppc64/Kconfig | 3 | ||||
-rw-r--r-- | arch/ppc64/kernel/misc.S | 24 |
3 files changed, 16 insertions, 13 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 29cda0732703..dedf1219761a 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
@@ -131,7 +131,7 @@ core-y += arch/powerpc/kernel/ \ | |||
131 | arch/powerpc/sysdev/ \ | 131 | arch/powerpc/sysdev/ \ |
132 | arch/powerpc/platforms/ | 132 | arch/powerpc/platforms/ |
133 | core-$(CONFIG_MATH_EMULATION) += arch/ppc/math-emu/ | 133 | core-$(CONFIG_MATH_EMULATION) += arch/ppc/math-emu/ |
134 | core-$(CONFIG_XMON) += arch/powerpc/xmon/ | 134 | #core-$(CONFIG_XMON) += arch/powerpc/xmon/ |
135 | core-$(CONFIG_APUS) += arch/ppc/amiga/ | 135 | core-$(CONFIG_APUS) += arch/ppc/amiga/ |
136 | drivers-$(CONFIG_8xx) += arch/ppc/8xx_io/ | 136 | drivers-$(CONFIG_8xx) += arch/ppc/8xx_io/ |
137 | drivers-$(CONFIG_4xx) += arch/ppc/4xx_io/ | 137 | drivers-$(CONFIG_4xx) += arch/ppc/4xx_io/ |
diff --git a/arch/ppc64/Kconfig b/arch/ppc64/Kconfig index e656e02d9dd1..8cbac7f32092 100644 --- a/arch/ppc64/Kconfig +++ b/arch/ppc64/Kconfig | |||
@@ -10,6 +10,9 @@ config MMU | |||
10 | bool | 10 | bool |
11 | default y | 11 | default y |
12 | 12 | ||
13 | config PPC_STD_MMU | ||
14 | def_bool y | ||
15 | |||
13 | config UID16 | 16 | config UID16 |
14 | bool | 17 | bool |
15 | 18 | ||
diff --git a/arch/ppc64/kernel/misc.S b/arch/ppc64/kernel/misc.S index c2c3421b8f38..ad73aad8dbb6 100644 --- a/arch/ppc64/kernel/misc.S +++ b/arch/ppc64/kernel/misc.S | |||
@@ -951,7 +951,7 @@ _GLOBAL(sys_call_table32) | |||
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 .compat_sys_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 .compat_sys_access | 957 | .llong .compat_sys_access |
@@ -981,7 +981,7 @@ _GLOBAL(sys_call_table32) | |||
981 | .llong .compat_sys_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 .compat_sys_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 |
@@ -996,17 +996,17 @@ _GLOBAL(sys_call_table32) | |||
996 | .llong .ppc32_sigsuspend | 996 | .llong .ppc32_sigsuspend |
997 | .llong .compat_sys_sigpending | 997 | .llong .compat_sys_sigpending |
998 | .llong .compat_sys_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 .compat_sys_gettimeofday | 1002 | .llong .compat_sys_gettimeofday |
1003 | .llong .compat_sys_settimeofday | 1003 | .llong .compat_sys_settimeofday |
1004 | .llong .compat_sys_getgroups /* 80 */ | 1004 | .llong .compat_sys_getgroups /* 80 */ |
1005 | .llong .compat_sys_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 .compat_sys_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 |
@@ -1021,12 +1021,12 @@ _GLOBAL(sys_call_table32) | |||
1021 | .llong .compat_sys_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 .compat_sys_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 |
1031 | .llong .compat_sys_newlstat | 1031 | .llong .compat_sys_newlstat |
1032 | .llong .compat_sys_newfstat | 1032 | .llong .compat_sys_newfstat |
@@ -1038,7 +1038,7 @@ _GLOBAL(sys_call_table32) | |||
1038 | .llong .compat_sys_wait4 | 1038 | .llong .compat_sys_wait4 |
1039 | .llong .sys_swapoff /* 115 */ | 1039 | .llong .sys_swapoff /* 115 */ |
1040 | .llong .compat_sys_sysinfo | 1040 | .llong .compat_sys_sysinfo |
1041 | .llong .compat_sys_ipc | 1041 | .llong .sys32_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 */ |
@@ -1056,7 +1056,7 @@ _GLOBAL(sys_call_table32) | |||
1056 | .llong .compat_sys_getpgid | 1056 | .llong .compat_sys_getpgid |
1057 | .llong .sys_fchdir | 1057 | .llong .sys_fchdir |
1058 | .llong .sys_bdflush | 1058 | .llong .sys_bdflush |
1059 | .llong .compat_sys_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 |
@@ -1101,7 +1101,7 @@ _GLOBAL(sys_call_table32) | |||
1101 | .llong .compat_sys_rt_sigqueueinfo | 1101 | .llong .compat_sys_rt_sigqueueinfo |
1102 | .llong .ppc32_rt_sigsuspend | 1102 | .llong .ppc32_rt_sigsuspend |
1103 | .llong .compat_sys_pread64 | 1103 | .llong .compat_sys_pread64 |
1104 | .llong .compat_sys_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 |
@@ -1166,12 +1166,12 @@ _GLOBAL(sys_call_table32) | |||
1166 | .llong .compat_sys_timer_gettime | 1166 | .llong .compat_sys_timer_gettime |
1167 | .llong .sys_timer_getoverrun | 1167 | .llong .sys_timer_getoverrun |
1168 | .llong .sys_timer_delete | 1168 | .llong .sys_timer_delete |
1169 | .llong .compat_sys_clock_settime /* 245 */ | 1169 | .llong .compat_sys_clock_settime/* 245 */ |
1170 | .llong .compat_sys_clock_gettime | 1170 | .llong .compat_sys_clock_gettime |
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 .compat_sys_tgkill /* 250 */ | 1174 | .llong .compat_sys_tgkill /* 250 */ |
1175 | .llong .compat_sys_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 |