commit: http://blackfin.uclinux.org/git/?p=linux-kernel;a=commitdiff;h=6f97b77c89884d2d0d2dc3d20fdfdb4a358fc365 branch: http://blackfin.uclinux.org/git/?p=linux-kernel;a=shortlog;h=refs/heads/trunk
Signed-off-by: Steven Miao <[email protected]> --- drivers/staging/icc/core/protocol.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/staging/icc/core/protocol.c b/drivers/staging/icc/core/protocol.c index 21db474..d0c1ebd 100644 --- a/drivers/staging/icc/core/protocol.c +++ b/drivers/staging/icc/core/protocol.c @@ -1551,6 +1551,8 @@ static int sm_task_sendmsg(struct sm_message *message, struct sm_session *sessio case SM_TASK_RUN: flush_dcache_range(_ramend, physical_mem_end); task = (struct sm_task *)msg->payload; + + flush_dcache_range(msg->payload, msg->payload + msg->length); sm_debug("%s init addr%p\n", __func__, task->task_init); sm_set_icc_queue_attribute(message->dst, ICC_QUEUE_ATTR_STATUS, ICC_QUEUE_STOP); mutex_lock(&bfin_icc->sessions_table->lock); @@ -1853,7 +1855,7 @@ static int icc_remap_mem(unsigned long data) do { if (physical_mem_end == dcplb_bounds[idx].eaddr) { - dcplb_bounds[++idx].data = ""> + dcplb_bounds[idx].data = ""> return 0; } } while (++idx < 9);
_______________________________________________ Linux-kernel-commits mailing list [email protected] https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits
