]> 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, 14 Dec 2011 05:21:30 +0000 (16:21 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 Dec 2011 05:21:30 +0000 (16:21 +1100)
Conflicts:
Documentation/feature-removal-schedule.txt

37 files changed:
1  2 
Documentation/feature-removal-schedule.txt
arch/mips/mm/c-r4k.c
arch/mips/mm/init.c
arch/powerpc/mm/hugetlbpage.c
arch/powerpc/mm/mem.c
drivers/ata/libata-sff.c
drivers/block/loop.c
drivers/gpu/drm/ttm/ttm_tt.c
drivers/md/bitmap.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/fcoe/fcoe.c
drivers/scsi/ips.c
drivers/staging/hv/storvsc_drv.c
drivers/staging/zcache/zcache-main.c
drivers/staging/zram/zram_drv.c
drivers/target/target_core_transport.c
fs/btrfs/extent_io.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 ae40a57fa55681790a4f40fa32f174e0d8b22ad6,65aef30315eedbc4987014195a5051e6ba4847aa..ec02cca565ba8ad70553ce55c6e1b74b64622838
@@@ -556,12 -554,8 +556,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
Simple merge
Simple merge
Simple merge
index eb853f71089a5dc728bfbed7bacc427835b31086,05b8bdc09bf4460335ee4eb1f1eb33bad5fdabca..ddbdec8f57fad3cd68ab66aa0eca944ac0cbb99f
@@@ -965,27 -870,9 +964,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
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