sparc64: We need to use compat_sys_ustat() as well.
authorDavid S. Miller <davem@davemloft.net>
Sat, 28 Mar 2009 01:15:02 +0000 (18:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Mar 2009 01:15:02 +0000 (18:15 -0700)
Sparc was missed in commit 2b1c6bd77d4e6a727ffac8630cd154b2144b751a
("generic compat_sys_ustat").  We definitely need it, since our
__kernel_ino_t is "unsigned long".

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/systbls_64.S

index f93c42a2b52215696be05ea022d74db09763bb21..a8000b1cda74d60ee726ff0fc76a7e556093e1f8 100644 (file)
@@ -51,7 +51,7 @@ sys_call_table32:
 /*150*/        .word sys_nis_syscall, sys_inotify_init, sys_inotify_add_watch, sys_poll, sys_getdents64
        .word compat_sys_fcntl64, sys_inotify_rm_watch, compat_sys_statfs, compat_sys_fstatfs, sys_oldumount
 /*160*/        .word compat_sys_sched_setaffinity, compat_sys_sched_getaffinity, sys32_getdomainname, sys32_setdomainname, sys_nis_syscall
-       .word sys_quotactl, sys_set_tid_address, compat_sys_mount, sys_ustat, sys32_setxattr
+       .word sys_quotactl, sys_set_tid_address, compat_sys_mount, compat_sys_ustat, sys32_setxattr
 /*170*/        .word sys32_lsetxattr, sys32_fsetxattr, sys_getxattr, sys_lgetxattr, compat_sys_getdents
        .word sys_setsid, sys_fchdir, sys32_fgetxattr, sys_listxattr, sys_llistxattr
 /*180*/        .word sys32_flistxattr, sys_removexattr, sys_lremovexattr, compat_sys_sigpending, sys_ni_syscall