diff mbox

[22/22] x86: declare support for DMA P2P

Message ID 1442337067-22964-23-git-send-email-wdavis@nvidia.com
State New, archived
Headers show

Commit Message

wdavis@nvidia.com Sept. 15, 2015, 5:11 p.m. UTC
Use CONFIG_HAS_DMA_P2P to declare that we want the DMA peer resource APIs
enabled on x86.

Signed-off-by: Will Davis <wdavis@nvidia.com>
---
 arch/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 3dbb7e7..581d1ad 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -149,6 +149,7 @@  config X86
 	select VIRT_TO_BUS
 	select X86_DEV_DMA_OPS			if X86_64
 	select X86_FEATURE_NAMES		if PROC_FS
+	select HAS_DMA_P2P
 
 config INSTRUCTION_DECODER
 	def_bool y