[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0905271532270.30618@gentwo.org>
Date: Wed, 27 May 2009 15:33:12 -0400 (EDT)
From: Christoph Lameter <cl@...ux-foundation.org>
To: linux-kernel@...r.kernel.org
cc: Tejun Heo <tj@...nel.org>, Dan Williams <dan.j.williams@...el.com>,
Eric Biederman <ebiederm@...stanetworks.com>,
Stephen Hemminger <shemminger@...tta.com>,
Trond Myklebust <Trond.Myklebust@...app.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
David L Stevens <dlstevens@...ibm.com>, mingo@...e.hu,
rusty@...tcorp.com.au, davem@...emloft.net
Subject: Re: [my_cpu_ptr 3/5] Elimninate get/put_cpu
dmaengine.c was not compiled.... Fixes:
Signed-off-by: Christoph Lameter <cl@...ux-foundation.org>
---
drivers/dma/dmaengine.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6/drivers/dma/dmaengine.c
===================================================================
--- linux-2.6.orig/drivers/dma/dmaengine.c 2009-05-27 14:30:32.000000000 -0500
+++ linux-2.6/drivers/dma/dmaengine.c 2009-05-27 14:31:19.000000000 -0500
@@ -328,7 +328,7 @@ struct dma_chan *dma_find_channel(enum d
{
struct dma_chan *chan;
- preempt_disable()
+ preempt_disable();
chan = my_cpu_ptr(channel_table[tx_type])->chan;
preempt_enable();
@@ -918,7 +918,7 @@ dma_async_memcpy_pg_to_pg(struct dma_cha
preempt_disable();
my_cpu_ptr(chan->local)->bytes_transferred += len;
my_cpu_ptr(chan->local)->memcpy_count++;
- preempt_disable();
+ preempt_enable();
return cookie;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists