* + drivers-dma-remove-unused-support-for-memset-operations-v3-fix.patch added to -mm tree
@ 2013-07-01 22:08 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2013-07-01 22:08 UTC (permalink / raw)
To: mm-commits, vinod.koul, t.figa, olof, kyungmin.park, khilman,
jason, herbert, djbw, b.zolnierkie, sebastian.hesselbarth
Subject: + drivers-dma-remove-unused-support-for-memset-operations-v3-fix.patch added to -mm tree
To: sebastian.hesselbarth@gmail.com,b.zolnierkie@samsung.com,djbw@fb.com,herbert@gondor.apana.org.au,jason@lakedaemon.net,khilman@linaro.org,kyungmin.park@samsung.com,olof@lixom.net,t.figa@samsung.com,vinod.koul@intel.com
From: akpm@linux-foundation.org
Date: Mon, 01 Jul 2013 15:08:33 -0700
The patch titled
Subject: drivers-dma-remove-unused-support-for-memset-operations-v3-fix
has been added to the -mm tree. Its filename is
drivers-dma-remove-unused-support-for-memset-operations-v3-fix.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/drivers-dma-remove-unused-support-for-memset-operations-v3-fix.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/drivers-dma-remove-unused-support-for-memset-operations-v3-fix.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Subject: drivers-dma-remove-unused-support-for-memset-operations-v3-fix
Commit 834cbfe ("drivers/dma: remove unused support for MEMSET operations")
removes MEMSET from dmaengine but does not completely removes it from
drivers/dma/mv_xor.
This also fixes some compiler warnings about now obsolete functions by
removing those.
[bzolnier: splitted off changes from bigger patch]
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Dan Williams <djbw@fb.com>
Cc: Tomasz Figa <t.figa@samsung.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Olof Johansson <olof@lixom.net>
Cc: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/dma/mv_xor.c | 23 +----------------------
1 file changed, 1 insertion(+), 22 deletions(-)
diff -puN drivers/dma/mv_xor.c~drivers-dma-remove-unused-support-for-memset-operations-v3-fix drivers/dma/mv_xor.c
--- a/drivers/dma/mv_xor.c~drivers-dma-remove-unused-support-for-memset-operations-v3-fix
+++ a/drivers/dma/mv_xor.c
@@ -89,11 +89,6 @@ static void mv_desc_clear_next_desc(stru
hw_desc->phy_next_desc = 0;
}
-static void mv_desc_set_block_fill_val(struct mv_xor_desc_slot *desc, u32 val)
-{
- desc->value = val;
-}
-
static void mv_desc_set_dest_addr(struct mv_xor_desc_slot *desc,
dma_addr_t addr)
{
@@ -128,22 +123,6 @@ static void mv_chan_set_next_descriptor(
__raw_writel(next_desc_addr, XOR_NEXT_DESC(chan));
}
-static void mv_chan_set_dest_pointer(struct mv_xor_chan *chan, u32 desc_addr)
-{
- __raw_writel(desc_addr, XOR_DEST_POINTER(chan));
-}
-
-static void mv_chan_set_block_size(struct mv_xor_chan *chan, u32 block_size)
-{
- __raw_writel(block_size, XOR_BLOCK_SIZE(chan));
-}
-
-static void mv_chan_set_value(struct mv_xor_chan *chan, u32 value)
-{
- __raw_writel(value, XOR_INIT_VALUE_LOW(chan));
- __raw_writel(value, XOR_INIT_VALUE_HIGH(chan));
-}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-07-01 22:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-01 22:08 + drivers-dma-remove-unused-support-for-memset-operations-v3-fix.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).