Skip to contentSkip to conversation

Hyperv: Export the symbol that tracks hyperv features and recommendations

PATCH In review Ky Srinivasan 2 participants 3 messages Jun 21, 2010 – Jun 22, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Hyperv: Export the symbol that tracks hyperv features and recommendations

From: K. Y. Srinivasan <[email protected]>
Subject: Export the symbol for hyperv drivers to access hyperv features and recommendations. This patch is needed by the hyperV clocksource driver.

arch/x86/kernel/cpu/mshyperv.c +1 -0
Index: linux.trees.git/arch/x86/kernel/cpu/mshyperv.c
===================================================================
@@ -18,6 +18,7 @@
 #include <asm/mshyperv.h>
 
 struct ms_hyperv_info ms_hyperv;
+EXPORT_SYMBOL(ms_hyperv);
 
 static bool __init ms_hyperv_platform(void)
 {
#1 lore raw
Quoted 13 lines · Ky Srinivasan

From: K. Y. Srinivasan <[email protected]>
Subject: Export the symbol for hyperv drivers to access hyperv features and recommendations. This patch is needed by the hyperV clocksource driver.

Index: linux.trees.git/arch/x86/kernel/cpu/mshyperv.c
===================================================================

arch/x86/kernel/cpu/mshyperv.c line 21

Quoted 4 lines
arch/x86/kernel/cpu/mshyperv.c +1 -0
@@ -18,6 +18,7 @@
 #include <asm/mshyperv.h>
 
 struct ms_hyperv_info ms_hyperv;
+EXPORT_SYMBOL(ms_hyperv);

EXPORT_SYMBOL_GPL()? Didn't you have it that way in your previous patch?

thanks,

greg k-h

#2 lore raw
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

On 6/21/2010 at 5:13 PM, in message <[email protected]>, Greg

Quoted 16 lines · KH
Quoted 5 lines · Ky Srinivasan

From: K. Y. Srinivasan <[email protected]>
Subject: Export the symbol for hyperv drivers to access hyperv features and recommendations. This patch is needed by the hyperV clocksource

driver.

Quoted 6 lines

Index: linux.trees.git/arch/x86/kernel/cpu/mshyperv.c
===================================================================
--- linux.trees.git.orig/arch/x86/kernel/cpu/mshyperv.c 2010-05-18

10:14:02.000000000 -0600

Quoted 1 line

+++ linux.trees.git/arch/x86/kernel/cpu/mshyperv.c 2010-05-18

14:12:11.000000000 -0600

Quoted 8 lines

arch/x86/kernel/cpu/mshyperv.c line 21

Quoted 5 lines
arch/x86/kernel/cpu/mshyperv.c +1 -0
@@ -18,6 +18,7 @@
 #include <asm/mshyperv.h>
 
 struct ms_hyperv_info ms_hyperv;
+EXPORT_SYMBOL(ms_hyperv);

EXPORT_SYMBOL_GPL()? Didn't you have it that way in your previous patch?

I don't recall now. I agree with you that making it a GPL export makes sense.

Regards,

K. Y

Quoted 4 lines

thanks,

greg k-h