[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081126110510.GP6703@one.firstfloor.org>
Date: Wed, 26 Nov 2008 12:05:10 +0100
From: Andi Kleen <andi@...stfloor.org>
To: eranian@...glemail.com
Cc: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
mingo@...e.hu, x86@...nel.org, andi@...stfloor.org,
eranian@...il.com, sfr@...b.auug.org.au
Subject: Re: [patch 17/24] perfmon: X86 64-bit system calls support (x86)
> +#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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists