[PATCH] drivers/virt: fix dependency on FSL booke hv management driver

Scott Wood scottwood at freescale.com
Tue Nov 13 08:50:03 EST 2012

If built on non-booke, the build will fail looking for MSR_GS as reported here:

Signed-off-by: Scott Wood <scottwood at freescale.com>
Reported-by: Geert Uytterhoeven <geert at linux-m68k.org>
Cc: Timur Tabi <timur at 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(-)

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
 	tristate "Freescale hypervisor management driver"
-	depends on FSL_SOC
+	depends on FSL_SOC_BOOKE
           The Freescale hypervisor management driver provides several services
 	  to drivers and applications related to the Freescale hypervisor:

More information about the Linuxppc-dev mailing list