Merge branch 'stable/late-swiotlb.v3.3' into stable/for-linus-3.7
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Sun, 23 Sep 2012 00:01:16 +0000 (20:01 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Sun, 23 Sep 2012 00:01:24 +0000 (20:01 -0400)
* stable/late-swiotlb.v3.3:
  xen/swiotlb: Fix compile warnings when using plain integer instead of NULL pointer.
  xen/swiotlb: Remove functions not needed anymore.
  xen/pcifront: Use Xen-SWIOTLB when initting if required.
  xen/swiotlb: For early initialization, return zero on success.
  xen/swiotlb: Use the swiotlb_late_init_with_tbl to init Xen-SWIOTLB late when PV PCI is used.
  xen/swiotlb: Move the error strings to its own function.
  xen/swiotlb: Move the nr_tbl determination in its own function.
  swiotlb: add the late swiotlb initialization function with iotlb memory
  xen/swiotlb: With more than 4GB on 64-bit, disable the native SWIOTLB.
  xen/swiotlb: Simplify the logic.

Conflicts:
arch/x86/xen/pci-swiotlb-xen.c

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
1  2 
arch/x86/xen/pci-swiotlb-xen.c
drivers/pci/xen-pcifront.c
drivers/xen/swiotlb-xen.c

@@@ -8,7 -8,11 +8,14 @@@
  #include <xen/xen.h>
  #include <asm/iommu_table.h>
  
++
 +#include <asm/xen/swiotlb-xen.h>
+ #ifdef CONFIG_X86_64
+ #include <asm/iommu.h>
+ #include <asm/dma.h>
+ #endif
+ #include <linux/export.h>
++
  int xen_swiotlb __read_mostly;
  
  static struct dma_map_ops xen_swiotlb_dma_ops = {
Simple merge
Simple merge