diff mbox

[v11,6/8] PPC: select EPAPR_PARAVIRT for all users of epapr hcalls

Message ID 1340395478-19131-1-git-send-email-stuart.yoder@freescale.com
State New, archived
Headers show

Commit Message

Stuart Yoder June 22, 2012, 8:04 p.m. UTC
From: Stuart Yoder <stuart.yoder@freescale.com>

Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
---
-new in v11-- this patch is needed so the dependencies are correct
 for all users of epapr hcalls, without it there will be build issues
 after hardcoded opcodes for hcalls are removed

 arch/powerpc/platforms/Kconfig |    1 +
 drivers/tty/Kconfig            |    1 +
 drivers/virt/Kconfig           |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

Comments

Timur Tabi June 22, 2012, 8:05 p.m. UTC | #1
Stuart Yoder wrote:
> -new in v11-- this patch is needed so the dependencies are correct
>  for all users of epapr hcalls, without it there will be build issues
>  after hardcoded opcodes for hcalls are removed

This should have been part of the patch description.
diff mbox

Patch

diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index e7a896a..48a920d 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -90,6 +90,7 @@  config MPIC
 config PPC_EPAPR_HV_PIC
 	bool
 	default n
+	select EPAPR_PARAVIRT
 
 config MPIC_WEIRD
 	bool
diff --git a/drivers/tty/Kconfig b/drivers/tty/Kconfig
index 830cd62..aa99cd2 100644
--- a/drivers/tty/Kconfig
+++ b/drivers/tty/Kconfig
@@ -358,6 +358,7 @@  config TRACE_SINK
 config PPC_EPAPR_HV_BYTECHAN
 	tristate "ePAPR hypervisor byte channel driver"
 	depends on PPC
+	select EPAPR_PARAVIRT
 	help
 	  This driver creates /dev entries for each ePAPR hypervisor byte
 	  channel, thereby allowing applications to communicate with byte
diff --git a/drivers/virt/Kconfig b/drivers/virt/Kconfig
index 2dcdbc9..99ebdde 100644
--- a/drivers/virt/Kconfig
+++ b/drivers/virt/Kconfig
@@ -15,6 +15,7 @@  if VIRT_DRIVERS
 config FSL_HV_MANAGER
 	tristate "Freescale hypervisor management driver"
 	depends on FSL_SOC
+	select EPAPR_PARAVIRT
 	help
           The Freescale hypervisor management driver provides several services
 	  to drivers and applications related to the Freescale hypervisor: