Re: + perfmon2-reserve-system-calls.patch added to -mm tree

From: Arnd Bergmann
Date: Mon Nov 14 2005 - 18:48:49 EST


On Dinsdag 15 November 2005 00:30, akpm@xxxxxxxx wrote:
> diff -puN include/asm-powerpc/unistd.h~perfmon2-reserve-system-calls include/asm-powerpc/unistd.h
> --- 25/include/asm-powerpc/unistd.h~perfmon2-reserve-system-calls       Mon Nov 14 15:27:32 2005
> +++ 25-akpm/include/asm-powerpc/unistd.h        Mon Nov 14 15:27:32 2005
> @@ -296,8 +296,20 @@
>  #define __NR_inotify_init      275
>  #define __NR_inotify_add_watch 276
>  #define __NR_inotify_rm_watch  277
> +#define __NR_pfm_create_context        278
> +#define __NR_pfm_write_pmcs    279
> +#define __NR_pfm_write_pmds    280
> +#define __NR_pfm_read_pmds     281
> +#define __NR_pfm_load_context  282
> +#define __NR_pfm_start         283
> +#define __NR_pfm_stop          284
> +#define __NR_pfm_restart       285
> +#define __NR_pfm_create_evtsets        286
> +#define __NR_pfm_getinfo_evtsets 287
> +#define __NR_pfm_delete_evtsets 288
> +#define __NR_pfm_unload_context        289
>  
> -#define __NR_syscalls          278
> +#define __NR_syscalls          290
>  
>  #ifdef __KERNEL__
>  #define __NR__exit __NR_exit

Hmm, I had sent an earlier patch to paulus that reserves 278 and
279 for spu_run and spu_create and that apparently got dropped.

Could I have those two numbers or is there already an established
user based for the perfmon2 numbers that would take preference?

Arnd <><
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/