Patchwork drivers/virt: fix dependency on FSL booke hv management driver

login
register
mail settings
Submitter Scott Wood
Date Nov. 12, 2012, 9:50 p.m.
Message ID <1352757003-3070-1-git-send-email-scottwood@freescale.com>
Download mbox | patch
Permalink /patch/198480/
State Superseded
Delegated to: Kumar Gala
Headers show

Comments

Scott Wood - Nov. 12, 2012, 9:50 p.m.
If built on non-booke, the build will fail looking for MSR_GS as reported here:
https://lists.ozlabs.org/pipermail/linuxppc-dev/2012-November/101944.html

Signed-off-by: Scott Wood <scottwood@freescale.com>
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Timur Tabi <timur@freescale.com>
---
Timur, I thought we were going to get rid of that MSR_GS check...

 drivers/virt/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Timur Tabi - Nov. 12, 2012, 10:01 p.m.
Scott Wood wrote:
> If built on non-booke, the build will fail looking for MSR_GS as reported here:
> https://lists.ozlabs.org/pipermail/linuxppc-dev/2012-November/101944.html
> 
> Signed-off-by: Scott Wood <scottwood@freescale.com>
> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Cc: Timur Tabi <timur@freescale.com>
> ---
> Timur, I thought we were going to get rid of that MSR_GS check...

I posted a fix back in May, and I sent Kumar a few reminders over the past
six months.  You'll have to ask him why he never applied it.

http://marc.info/?l=linux-kernel&m=133728200626957&w=4

> 
>  drivers/virt/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/virt/Kconfig b/drivers/virt/Kconfig
> index 2dcdbc9..db5b9e6 100644
> --- a/drivers/virt/Kconfig
> +++ b/drivers/virt/Kconfig
> @@ -14,7 +14,7 @@ if VIRT_DRIVERS
>  
>  config FSL_HV_MANAGER
>  	tristate "Freescale hypervisor management driver"
> -	depends on FSL_SOC
> +	depends on FSL_SOC_BOOKE
>  	help
>            The Freescale hypervisor management driver provides several services
>  	  to drivers and applications related to the Freescale hypervisor:
>

Patch

diff --git a/drivers/virt/Kconfig b/drivers/virt/Kconfig
index 2dcdbc9..db5b9e6 100644
--- a/drivers/virt/Kconfig
+++ b/drivers/virt/Kconfig
@@ -14,7 +14,7 @@  if VIRT_DRIVERS
 
 config FSL_HV_MANAGER
 	tristate "Freescale hypervisor management driver"
-	depends on FSL_SOC
+	depends on FSL_SOC_BOOKE
 	help
           The Freescale hypervisor management driver provides several services
 	  to drivers and applications related to the Freescale hypervisor: