Re: [patch 17/24] perfmon: X86 64-bit system calls support (x86)

From: Andi Kleen
Date: Wed Nov 26 2008 - 05:54:57 EST


> +#define __NR_pfm_create 295
> +__SYSCALL(__NR_pfm_create, sys_pfm_create)
> +#define __NR_pfm_write (__NR_pfm_create+1)
> +__SYSCALL(__NR_pfm_write, sys_pfm_write)
> +#define __NR_pfm_read (__NR_pfm_create+2)
> + __SYSCALL(__NR_pfm_read, sys_pfm_read)
> +#define __NR_pfm_attach (__NR_pfm_create+3)
> +__SYSCALL(__NR_pfm_attach, sys_pfm_attach)
> +#define __NR_pfm_set_state (__NR_pfm_create+4)
> +__SYSCALL(__NR_pfm_set_state, sys_pfm_set_state)

Please use always absolute numbers. That's much nicer for people
who grep for them.

-Andi

--
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/