Skip to content

Commit

Permalink
xen: SWIOTLB is only used on x86
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann authored and Konrad Rzeszutek Wilk committed May 8, 2013
1 parent cb91f8f commit e8b404d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/xen/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ config XEN_GRANT_DEV_ALLOC

config SWIOTLB_XEN
def_bool y
depends on PCI
depends on PCI && X86
select SWIOTLB

config XEN_TMEM
Expand Down

0 comments on commit e8b404d

Please sign in to comment.