1. 29 5月, 2009 33 次提交
  2. 28 5月, 2009 5 次提交
  3. 27 5月, 2009 2 次提交
    • N
      md: raid5: change incorrect usage of 'min' macro to 'min_t' · ed37d83e
      NeilBrown 提交于
      A recent patch to raid5.c use min on an int and a sector_t.
      This isn't allowed.
      So change it to min_t(sector_t,x,y).
      Signed-off-by: NNeilBrown <neilb@suse.de>
      ed37d83e
    • B
      powerpc: Fix up dma_alloc_coherent() on platforms without cache coherency. · 8b31e49d
      Benjamin Herrenschmidt 提交于
      The implementation we just revived has issues, such as using a
      Kconfig-defined virtual address area in kernel space that nothing
      actually carves out (and thus will overlap whatever is there),
      or having some dependencies on being self contained in a single
      PTE page which adds unnecessary constraints on the kernel virtual
      address space.
      
      This fixes it by using more classic PTE accessors and automatically
      locating the area for consistent memory, carving an appropriate hole
      in the kernel virtual address space, leaving only the size of that
      area as a Kconfig option. It also brings some dma-mask related fixes
      from the ARM implementation which was almost identical initially but
      grew its own fixes.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      8b31e49d