[PATCH v2 03/14] powerpc: Remove direct call to mmap2 syscall handlers

Andrew Donnellan ajd at linux.ibm.com
Mon Aug 8 13:24:19 AEST 2022


On Mon, 2022-07-25 at 16:25 +1000, Rohan McLure wrote:
> 
> diff --git a/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl
> b/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl
> index 54bb5834785f..437066f5c4b2 100644
> --- a/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl
> +++ b/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl
> @@ -243,7 +243,7 @@
>  189    nospu   vfork                           sys_vfork
>  190    common  ugetrlimit                      sys_getrlimit        
>            compat_sys_getrlimit
>  191    common  readahead                       sys_readahead        
>            compat_sys_ppc_readahead
> -
> 192    32      mmap2                           sys_mmap2              
>          compat_sys_ppc_mmap2
> +192    32      mmap2                           sys_mmap2            
>            compat_sys_mmap2
>  193    32      truncate64                      sys_truncate64       
>            compat_sys_ppc_truncate64
>  194    32      ftruncate64                     sys_ftruncate64      
>            compat_sys_ppc_ftruncate64
>  195    32      stat64                          sys_stat64
> @@ -391,7 +391,7 @@
>  306    common  timerfd_create                  sys_timerfd_create
>  307    common  eventfd                         sys_eventfd
>  308    common  sync_file_range2                sys_sync_file_range2 
>            compat_sys_ppc_sync_file_range2
> -
> 309    nospu   fallocate                       sys_fallocate          
>          compat_sys_ppc_fallocate
> +309    nospu   fallocate                       sys_fallocate        
>            compat_sys_fallocate

This should be in patch 5?

>  310    nospu   subpage_prot                    sys_subpage_prot
>  311    32      timerfd_settime                 sys_timerfd_settime32
>  311    64      timerfd_settime                 sys_timerfd_settime

-- 
Andrew Donnellan    OzLabs, ADL Canberra
ajd at linux.ibm.com   IBM Australia Limited



More information about the Linuxppc-dev mailing list