Skip to contentSkip to conversation

Export native_read_tsc

PATCH Applied Andi Kleen 2 participants 2 messages Jan 14, 2008 x86

lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

PATCH 1/1 Export native_read_tsc

Otherwise modular tcrypt, kvm-intel have unresolved symbols.

arch/x86/kernel/rtc.c +2 -0
Index: linux/arch/x86/kernel/rtc.c
===================================================================
@@ -200,3 +200,5 @@ unsigned long long native_read_tsc(void)
 {
 	return __native_read_tsc();
 }
+EXPORT_SYMBOL(native_read_tsc);
+
Applied
#1 lore raw

arch/x86/kernel/rtc.c unsigned long long native_read_tsc(void) · line 203

Quoted 13 lines · Andi Kleen

Otherwise modular tcrypt, kvm-intel have unresolved symbols.

Index: linux/arch/x86/kernel/rtc.c
===================================================================

arch/x86/kernel/rtc.c +1 -0
@@ -200,3 +200,5 @@ unsigned long long native_read_tsc(void)
 {
 	return __native_read_tsc();
 }
+EXPORT_SYMBOL(native_read_tsc);

thanks, applied.

Ingo