mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Hyperv: Export the symbol that tracks hyperv features and recommendations
@ 2010-06-21 21:07 Ky Srinivasan
  2010-06-21 21:13 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Ky Srinivasan @ 2010-06-21 21:07 UTC (permalink / raw)
  To: hpa; +Cc: greg, hjanssen, mingo, linux-kernel


 
From: K. Y. Srinivasan <ksrinivasan@novell.com>
Subject:  Export the symbol  for hyperv drivers to access hyperv
features and recommendations. This patch is needed by the hyperV clocksource driver.

Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>

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
+++ linux.trees.git/arch/x86/kernel/cpu/mshyperv.c	2010-05-18 14:12:11.000000000 -0600
@@ -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)
 {










^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Hyperv: Export the symbol that tracks hyperv features and recommendations
  2010-06-21 21:07 [PATCH] Hyperv: Export the symbol that tracks hyperv features and recommendations Ky Srinivasan
@ 2010-06-21 21:13 ` Greg KH
  2010-06-22 14:36   ` Ky Srinivasan
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2010-06-21 21:13 UTC (permalink / raw)
  To: Ky Srinivasan; +Cc: hpa, hjanssen, mingo, linux-kernel

On Mon, Jun 21, 2010 at 03:07:02PM -0600, Ky Srinivasan wrote:
> 
>  
> From: K. Y. Srinivasan <ksrinivasan@novell.com>
> Subject:  Export the symbol  for hyperv drivers to access hyperv
> features and recommendations. This patch is needed by the hyperV clocksource driver.
> 
> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
> 
> 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
> +++ linux.trees.git/arch/x86/kernel/cpu/mshyperv.c	2010-05-18 14:12:11.000000000 -0600
> @@ -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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Hyperv: Export the symbol that tracks hyperv features and recommendations
  2010-06-21 21:13 ` Greg KH
@ 2010-06-22 14:36   ` Ky Srinivasan
  0 siblings, 0 replies; 5+ messages in thread
From: Ky Srinivasan @ 2010-06-22 14:36 UTC (permalink / raw)
  To: Greg KH; +Cc: hjanssen, mingo, linux-kernel, hpa



>>> On 6/21/2010 at  5:13 PM, in message <20100621211319.GA25447@kroah.com>, Greg
KH <greg@kroah.com> wrote: 
> On Mon, Jun 21, 2010 at 03:07:02PM -0600, Ky Srinivasan wrote:
>> 
>>  
>> From: K. Y. Srinivasan <ksrinivasan@novell.com>
>> Subject:  Export the symbol  for hyperv drivers to access hyperv
>> features and recommendations. This patch is needed by the hyperV clocksource 
> driver.
>> 
>> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
>> 
>> 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
>> +++ linux.trees.git/arch/x86/kernel/cpu/mshyperv.c	2010-05-18 
> 14:12:11.000000000 -0600
>> @@ -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
> 
> thanks,
> 
> greg k-h



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Hyperv: Export the symbol that tracks hyperv features and recommendations
  2010-05-19 16:54   ` [PATCH] Hyperv: Export the symbol that tracks hyperv features and recommendations Ky Srinivasan
@ 2010-05-19 17:03     ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2010-05-19 17:03 UTC (permalink / raw)
  To: Ky Srinivasan; +Cc: hpa, hjanssen, mingo, linux-kernel

On Wed, May 19, 2010 at 10:54:18AM -0600, Ky Srinivasan wrote:
> 
> From: K. Y. Srinivasan <ksrinivasan@novell.com>
> Subject:  Export the symbol  for hyperv drivers to access hyperv
> features and recommendations.
> 
> Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
> 
> 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
> +++ linux.trees.git/arch/x86/kernel/cpu/mshyperv.c	2010-05-18 14:12:11.000000000 -0600
> @@ -18,6 +18,7 @@
>  #include <asm/mshyperv.h>
>  
>  struct ms_hyperv_info ms_hyperv;
> +EXPORT_SYMBOL(ms_hyperv);

EXPORT_SYMBOL_GPL() perhaps?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] Hyperv: Export the symbol that tracks hyperv features and recommendations
  2010-05-08  1:58 ` [tip:x86/cpu] x86: Clean up the " tip-bot for H. Peter Anvin
@ 2010-05-19 16:54   ` Ky Srinivasan
  2010-05-19 17:03     ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Ky Srinivasan @ 2010-05-19 16:54 UTC (permalink / raw)
  To: hpa; +Cc: greg, hjanssen, mingo, linux-kernel


From: K. Y. Srinivasan <ksrinivasan@novell.com>
Subject:  Export the symbol  for hyperv drivers to access hyperv
features and recommendations.

Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>

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
+++ linux.trees.git/arch/x86/kernel/cpu/mshyperv.c	2010-05-18 14:12:11.000000000 -0600
@@ -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)
 {









^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-22 14:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-21 21:07 [PATCH] Hyperv: Export the symbol that tracks hyperv features and recommendations Ky Srinivasan
2010-06-21 21:13 ` Greg KH
2010-06-22 14:36   ` Ky Srinivasan
  -- strict thread matches above, loose matches on Subject: below --
2010-05-07 22:43 RFC - Cleaned up hypervisor layer H. Peter Anvin
2010-05-08  1:58 ` [tip:x86/cpu] x86: Clean up the " tip-bot for H. Peter Anvin
2010-05-19 16:54   ` [PATCH] Hyperv: Export the symbol that tracks hyperv features and recommendations Ky Srinivasan
2010-05-19 17:03     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome