Skip to content
Commit 81af4449 authored by Vojtech Pavlik's avatar Vojtech Pavlik Committed by Andi Kleen
Browse files

[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: default avatarVojtech Pavlik <vojtech@suse.cz>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent 248dcb2f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment