Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next
[muen/linux.git] / arch / powerpc / kernel / syscalls.c
index 6d90ddbd2d1163d7d18b4a6fb1b189b60ce4437b..466216506eb2f4bfa7b6b94ed89140914b1ea682 100644 (file)
@@ -57,7 +57,7 @@ static inline long do_mmap2(unsigned long addr, size_t len,
                off >>= shift;
        }
 
-       ret = sys_mmap_pgoff(addr, len, prot, flags, fd, off);
+       ret = ksys_mmap_pgoff(addr, len, prot, flags, fd, off);
 out:
        return ret;
 }
@@ -119,8 +119,8 @@ long ppc64_personality(unsigned long personality)
 long ppc_fadvise64_64(int fd, int advice, u32 offset_high, u32 offset_low,
                      u32 len_high, u32 len_low)
 {
-       return sys_fadvise64(fd, (u64)offset_high << 32 | offset_low,
-                            (u64)len_high << 32 | len_low, advice);
+       return ksys_fadvise64_64(fd, (u64)offset_high << 32 | offset_low,
+                                (u64)len_high << 32 | len_low, advice);
 }
 
 long sys_switch_endian(void)