]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: convert rdtscll() to use __native_read_tsc
authorKen Chen <kenchen@google.com>
Tue, 16 Dec 2008 08:32:21 +0000 (00:32 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 16 Dec 2008 09:17:02 +0000 (10:17 +0100)
commit205516c12dbba003c26b42cfb41e598631300106
treea392f1fd4735ac67fa6ff01d1f3961bde7cd527b
parent5279585ff2bedc8180da5bdf8aa3ff1736466de2
x86: convert rdtscll() to use __native_read_tsc

Impact: micro-optimization

Is there any reason why x86 rdtscll have to use the out of line
function instead of inline __native_read_tsc()?  native_read_tsc and
__native_read_tsc is essentially the same functions.

Patch to let x86 rdtscll() to use the inline version of read_tsc.

Signed-off-by: Ken Chen <kenchen@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/msr.h