]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'kmap_atomic/kmap_atomic'
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 7 Dec 2011 05:09:14 +0000 (16:09 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 7 Dec 2011 05:09:14 +0000 (16:09 +1100)
Conflicts:
Documentation/feature-removal-schedule.txt

31 files changed:
1  2 
Documentation/feature-removal-schedule.txt
arch/mips/mm/c-r4k.c
arch/mips/mm/init.c
arch/powerpc/mm/mem.c
arch/x86/mm/highmem_32.c
drivers/block/loop.c
drivers/gpu/drm/ttm/ttm_tt.c
drivers/net/ethernet/intel/e1000/e1000_main.c
drivers/net/ethernet/intel/e1000e/netdev.c
drivers/net/ethernet/sun/cassini.c
drivers/net/hyperv/netvsc_drv.c
drivers/net/hyperv/rndis_filter.c
drivers/scsi/cxgbi/libcxgbi.c
drivers/scsi/ips.c
drivers/staging/hv/storvsc_drv.c
drivers/staging/zcache/zcache-main.c
fs/btrfs/inode.c
fs/fuse/dev.c
fs/fuse/file.c
fs/gfs2/aops.c
fs/gfs2/quota.c
fs/jbd/journal.c
fs/jbd2/journal.c
fs/logfs/dir.c
fs/logfs/readwrite.c
fs/logfs/segment.c
fs/nfs/nfs4proc.c
lib/swiotlb.c
mm/filemap.c
mm/swapfile.c
mm/vmalloc.c

index dca11ea6d2d510151027699260ba2daecbcd136e,65aef30315eedbc4987014195a5051e6ba4847aa..0209440c827eb318c09d0ced0e9b4a79391ce2fc
@@@ -554,12 -554,8 +554,20 @@@ Who:     Don Fry <donald.h.fry@intel.com
  
  ----------------------------
  
 +What: pci_scan_bus_parented()
 +When: 3.5
 +Why:  The pci_scan_bus_parented() interface creates a new root bus.  The
 +      bus is created with default resources (ioport_resource and
 +      iomem_resource) that are always wrong, so we rely on arch code to
 +      correct them later.  Callers of pci_scan_bus_parented() should
 +      convert to using pci_scan_root_bus() so they can supply a list of
 +      bus resources when the bus is created.
 +Who:  Bjorn Helgaas <bhelgaas@google.com>
++
++----------------------------
++
+ What: kmap_atomic(page, km_type)
+ When: 3.5
+ Why:  The old kmap_atomic() with two arguments is deprecated, we only
+       keep it for backward compatibility for few cycles and then drop it.
+ Who:  Cong Wang <amwang@redhat.com>
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 18f8771769be44cb1c8050394b0b6dca2d1732a0,05b8bdc09bf4460335ee4eb1f1eb33bad5fdabca..311e10dfb2b252f960464e1d1b13a91893afbd13
@@@ -963,27 -870,9 +962,27 @@@ static unsigned int copy_from_bounce_bu
  
                        if (bounce_sgl[j].offset == bounce_sgl[j].length) {
                                /* full */
-                               kunmap_atomic((void *)bounce_addr, KM_IRQ0);
+                               kunmap_atomic((void *)bounce_addr);
                                j++;
  
 +                              /*
 +                               * It is possible that the number of elements
 +                               * in the bounce buffer may not be equal to
 +                               * the number of elements in the original
 +                               * scatter list. Handle this correctly.
 +                               */
 +
 +                              if (j == bounce_sgl_count) {
 +                                      /*
 +                                       * We are done; cleanup and return.
 +                                       */
 +                                      kunmap_atomic((void *)(dest_addr -
 +                                                      orig_sgl[i].offset),
 +                                                      KM_IRQ0);
 +                                      local_irq_restore(flags);
 +                                      return total_copied;
 +                              }
 +
                                /* if we need to use another bounce buffer */
                                if (destlen || i != orig_sgl_count - 1)
                                        bounce_addr =
Simple merge
Simple merge
diff --cc fs/fuse/dev.c
Simple merge
diff --cc fs/fuse/file.c
Simple merge
diff --cc fs/gfs2/aops.c
Simple merge
diff --cc fs/gfs2/quota.c
Simple merge
Simple merge
Simple merge
diff --cc fs/logfs/dir.c
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc lib/swiotlb.c
Simple merge
diff --cc mm/filemap.c
Simple merge
diff --cc mm/swapfile.c
Simple merge
diff --cc mm/vmalloc.c
Simple merge