lkml.org 
[lkml]   [2009]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH -tip 2/5] x86: use asm-generic/dma-mapping-common.h
From
On Thu, 28 May 2009 00:20:32 -0700
Andrew Morton <akpm@linux-foundation.org> wrote:

> On Fri, 15 May 2009 12:55:02 +0900 FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> wrote:
>
> > Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
> > Acked-by: Joerg Roedel <joerg.roedel@amd.com>
> >
> > ...
> >
> > /* Make sure we keep the same behaviour */
> > static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr)
> > {
> > @@ -53,178 +55,6 @@ extern int dma_set_mask(struct device *dev, u64 mask);
> > extern void *dma_generic_alloc_coherent(struct device *dev, size_t size,
> > dma_addr_t *dma_addr, gfp_t flag);
> >
> > -static inline dma_addr_t
> > -dma_map_single(struct device *hwdev, void *ptr, size_t size,
> > - enum dma_data_direction dir)
> > -{
> > - struct dma_map_ops *ops = get_dma_ops(hwdev);
> > - dma_addr_t addr;
> > -
> > - kmemcheck_mark_initialized(ptr, size);
>
> This patch attempts to delete kmemcheck stuff which isn't presently in
> linux-next.

kmemcheck_mark stuff is in the tip tree (this patchset is against the
tip tree).

I rework on this patchset against -mm if you merge all the patches.


>
> So I went ahead and ported the patch, but it'll break if/when kmemcheck
> returns.


\
 
 \ /
  Last update: 2009-05-28 09:49    [from the cache]
©2003-2011 Jasper Spaans