diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-05-02 11:16:22 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-05-08 08:38:10 -0400 |
commit | e8b404d99369ba3e6ec3259a4ea14bf1c18283f3 (patch) | |
tree | 8d654af329276c9b32888df64d5292ed0d57ae6e /drivers/xen | |
parent | cb91f8f44caf346654fe9b17b2b359b95f98c049 (diff) |
xen: SWIOTLB is only used on x86
Enabling SWIOTLB_XEN on ARM results in build errors because the
underlying SWIOTLB is only available on X86:
drivers/xen/swiotlb-xen.c: In function 'is_xen_swiotlb_buffer':
drivers/xen/swiotlb-xen.c:105:2: error: implicit declaration of function 'mfn_to_local_pfn
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen')
-rw-r--r-- | drivers/xen/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig index 67af155cf602..ed6a8099666d 100644 --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig | |||
@@ -141,7 +141,7 @@ config XEN_GRANT_DEV_ALLOC | |||
141 | 141 | ||
142 | config SWIOTLB_XEN | 142 | config SWIOTLB_XEN |
143 | def_bool y | 143 | def_bool y |
144 | depends on PCI | 144 | depends on PCI && X86 |
145 | select SWIOTLB | 145 | select SWIOTLB |
146 | 146 | ||
147 | config XEN_TMEM | 147 | config XEN_TMEM |