Commit 03f88e9f authored by Paul Mackerras's avatar Paul Mackerras

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: default avatarPaul Mackerras <paulus@samba.org>
parent b123923d
...@@ -131,7 +131,7 @@ core-y += arch/powerpc/kernel/ \ ...@@ -131,7 +131,7 @@ core-y += arch/powerpc/kernel/ \
arch/powerpc/sysdev/ \ arch/powerpc/sysdev/ \
arch/powerpc/platforms/ arch/powerpc/platforms/
core-$(CONFIG_MATH_EMULATION) += arch/ppc/math-emu/ core-$(CONFIG_MATH_EMULATION) += arch/ppc/math-emu/
core-$(CONFIG_XMON) += arch/powerpc/xmon/ #core-$(CONFIG_XMON) += arch/powerpc/xmon/
core-$(CONFIG_APUS) += arch/ppc/amiga/ core-$(CONFIG_APUS) += arch/ppc/amiga/
drivers-$(CONFIG_8xx) += arch/ppc/8xx_io/ drivers-$(CONFIG_8xx) += arch/ppc/8xx_io/
drivers-$(CONFIG_4xx) += arch/ppc/4xx_io/ drivers-$(CONFIG_4xx) += arch/ppc/4xx_io/
......
...@@ -10,6 +10,9 @@ config MMU ...@@ -10,6 +10,9 @@ config MMU
bool bool
default y default y
config PPC_STD_MMU
def_bool y
config UID16 config UID16
bool bool
......
...@@ -951,7 +951,7 @@ _GLOBAL(sys_call_table32) ...@@ -951,7 +951,7 @@ _GLOBAL(sys_call_table32)
.llong .sys_alarm .llong .sys_alarm
.llong .sys_ni_syscall /* old fstat syscall */ .llong .sys_ni_syscall /* old fstat syscall */
.llong .compat_sys_pause .llong .compat_sys_pause
.llong .compat_sys_utime /* 30 */ .llong .compat_sys_utime /* 30 */
.llong .sys_ni_syscall /* old stty syscall */ .llong .sys_ni_syscall /* old stty syscall */
.llong .sys_ni_syscall /* old gtty syscall */ .llong .sys_ni_syscall /* old gtty syscall */
.llong .compat_sys_access .llong .compat_sys_access
...@@ -981,7 +981,7 @@ _GLOBAL(sys_call_table32) ...@@ -981,7 +981,7 @@ _GLOBAL(sys_call_table32)
.llong .compat_sys_setpgid .llong .compat_sys_setpgid
.llong .sys_ni_syscall /* old ulimit syscall */ .llong .sys_ni_syscall /* old ulimit syscall */
.llong .sys_olduname .llong .sys_olduname
.llong .compat_sys_umask /* 60 */ .llong .compat_sys_umask /* 60 */
.llong .sys_chroot .llong .sys_chroot
.llong .sys_ustat .llong .sys_ustat
.llong .sys_dup2 .llong .sys_dup2
...@@ -996,17 +996,17 @@ _GLOBAL(sys_call_table32) ...@@ -996,17 +996,17 @@ _GLOBAL(sys_call_table32)
.llong .ppc32_sigsuspend .llong .ppc32_sigsuspend
.llong .compat_sys_sigpending .llong .compat_sys_sigpending
.llong .compat_sys_sethostname .llong .compat_sys_sethostname
.llong .compat_sys_setrlimit /* 75 */ .llong .compat_sys_setrlimit /* 75 */
.llong .compat_sys_old_getrlimit .llong .compat_sys_old_getrlimit
.llong .compat_sys_getrusage .llong .compat_sys_getrusage
.llong .compat_sys_gettimeofday .llong .compat_sys_gettimeofday
.llong .compat_sys_settimeofday .llong .compat_sys_settimeofday
.llong .compat_sys_getgroups /* 80 */ .llong .compat_sys_getgroups /* 80 */
.llong .compat_sys_setgroups .llong .compat_sys_setgroups
.llong .sys_ni_syscall /* old select syscall */ .llong .sys_ni_syscall /* old select syscall */
.llong .sys_symlink .llong .sys_symlink
.llong .sys_ni_syscall /* old lstat syscall */ .llong .sys_ni_syscall /* old lstat syscall */
.llong .compat_sys_readlink /* 85 */ .llong .compat_sys_readlink /* 85 */
.llong .sys_uselib .llong .sys_uselib
.llong .sys_swapon .llong .sys_swapon
.llong .sys_reboot .llong .sys_reboot
...@@ -1021,12 +1021,12 @@ _GLOBAL(sys_call_table32) ...@@ -1021,12 +1021,12 @@ _GLOBAL(sys_call_table32)
.llong .compat_sys_setpriority .llong .compat_sys_setpriority
.llong .sys_ni_syscall /* old profil syscall */ .llong .sys_ni_syscall /* old profil syscall */
.llong .compat_sys_statfs .llong .compat_sys_statfs
.llong .compat_sys_fstatfs /* 100 */ .llong .compat_sys_fstatfs /* 100 */
.llong .sys_ni_syscall /* old ioperm syscall */ .llong .sys_ni_syscall /* old ioperm syscall */
.llong .compat_sys_socketcall .llong .compat_sys_socketcall
.llong .compat_sys_syslog .llong .compat_sys_syslog
.llong .compat_sys_setitimer .llong .compat_sys_setitimer
.llong .compat_sys_getitimer /* 105 */ .llong .compat_sys_getitimer /* 105 */
.llong .compat_sys_newstat .llong .compat_sys_newstat
.llong .compat_sys_newlstat .llong .compat_sys_newlstat
.llong .compat_sys_newfstat .llong .compat_sys_newfstat
...@@ -1038,7 +1038,7 @@ _GLOBAL(sys_call_table32) ...@@ -1038,7 +1038,7 @@ _GLOBAL(sys_call_table32)
.llong .compat_sys_wait4 .llong .compat_sys_wait4
.llong .sys_swapoff /* 115 */ .llong .sys_swapoff /* 115 */
.llong .compat_sys_sysinfo .llong .compat_sys_sysinfo
.llong .compat_sys_ipc .llong .sys32_ipc
.llong .sys_fsync .llong .sys_fsync
.llong .ppc32_sigreturn .llong .ppc32_sigreturn
.llong .ppc_clone /* 120 */ .llong .ppc_clone /* 120 */
...@@ -1056,7 +1056,7 @@ _GLOBAL(sys_call_table32) ...@@ -1056,7 +1056,7 @@ _GLOBAL(sys_call_table32)
.llong .compat_sys_getpgid .llong .compat_sys_getpgid
.llong .sys_fchdir .llong .sys_fchdir
.llong .sys_bdflush .llong .sys_bdflush
.llong .compat_sys_sysfs /* 135 */ .llong .compat_sys_sysfs /* 135 */
.llong .ppc64_personality .llong .ppc64_personality
.llong .sys_ni_syscall /* for afs_syscall */ .llong .sys_ni_syscall /* for afs_syscall */
.llong .sys_setfsuid .llong .sys_setfsuid
...@@ -1101,7 +1101,7 @@ _GLOBAL(sys_call_table32) ...@@ -1101,7 +1101,7 @@ _GLOBAL(sys_call_table32)
.llong .compat_sys_rt_sigqueueinfo .llong .compat_sys_rt_sigqueueinfo
.llong .ppc32_rt_sigsuspend .llong .ppc32_rt_sigsuspend
.llong .compat_sys_pread64 .llong .compat_sys_pread64
.llong .compat_sys_pwrite64 /* 180 */ .llong .compat_sys_pwrite64 /* 180 */
.llong .sys_chown .llong .sys_chown
.llong .sys_getcwd .llong .sys_getcwd
.llong .sys_capget .llong .sys_capget
...@@ -1166,12 +1166,12 @@ _GLOBAL(sys_call_table32) ...@@ -1166,12 +1166,12 @@ _GLOBAL(sys_call_table32)
.llong .compat_sys_timer_gettime .llong .compat_sys_timer_gettime
.llong .sys_timer_getoverrun .llong .sys_timer_getoverrun
.llong .sys_timer_delete .llong .sys_timer_delete
.llong .compat_sys_clock_settime /* 245 */ .llong .compat_sys_clock_settime/* 245 */
.llong .compat_sys_clock_gettime .llong .compat_sys_clock_gettime
.llong .compat_sys_clock_getres .llong .compat_sys_clock_getres
.llong .compat_sys_clock_nanosleep .llong .compat_sys_clock_nanosleep
.llong .ppc32_swapcontext .llong .ppc32_swapcontext
.llong .compat_sys_tgkill /* 250 */ .llong .compat_sys_tgkill /* 250 */
.llong .compat_sys_utimes .llong .compat_sys_utimes
.llong .compat_sys_statfs64 .llong .compat_sys_statfs64
.llong .compat_sys_fstatfs64 .llong .compat_sys_fstatfs64
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment