Re: [PATCH 14/16] dma-debug: add checks for sync_single_sg_*

From: Ingo Molnar
Date: Sat Jan 10 2009 - 18:47:24 EST



* Joerg Roedel <joerg.roedel@xxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/