lkml.org 
[lkml]   [2009]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 14/16] dma-debug: add checks for sync_single_sg_*

* Joerg Roedel <joerg.roedel@amd.com> wrote:

> +void debug_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg,
> + int nelems, int direction)
> +{
> + struct scatterlist *s;
> + int i;
> +
> + if (global_disable)
> + return;

"if (unlikely(global_disable))" i suspect?

Ingo


\
 
 \ /
  Last update: 2009-01-11 00:49    [W:0.449 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site