]> Pileus Git - ~andy/linux/commit
[PATCH] Add macros for rdtscp
authorVojtech Pavlik <vojtech@suse.cz>
Tue, 26 Sep 2006 08:52:28 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:28 +0000 (10:52 +0200)
commit81af4449af9c9b686a4eeeb00112614621655704
tree52dc5cac0124a87a6a323f415338c31631dbbf20
parent248dcb2ffffe8f3e4a369556a68988788c208111
[PATCH] Add macros for rdtscp

This patch adds macros for reading tsc via the RDTSCP instruction, as well
as writing the auxilliary MSR read by RDTSCP to msr.h

[AK: changed rdtscp definition for old binutils]

Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Andi Kleen <ak@suse.de>
include/asm-x86_64/msr.h