commit: http://blackfin.uclinux.org/git/?p=linux-kernel;a=commitdiff;h=c68e4feb28192f7bcded0163917b7abb7fab3a45
branch: http://blackfin.uclinux.org/git/?p=linux-kernel;a=shortlog;h=refs/heads/trunk-next

change bfin dcache functions to common dcache api
cleanup debug messages

Signed-off-by: Steven Miao <[email protected]>
---
 drivers/staging/icc/core/protocol.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/icc/core/protocol.c b/drivers/staging/icc/core/protocol.c
index 7d6ef35..327b34c 100644
--- a/drivers/staging/icc/core/protocol.c
+++ b/drivers/staging/icc/core/protocol.c
@@ -590,7 +590,7 @@ static int sm_recv_packet(sm_uint32_t session_idx, sm_uint16_t *src_ep,
 
 	copy_to_user(user_buf, (void *)message->msg.payload, message->msg.length);
 
-	blackfin_dcache_invalidate_range(msg->payload, msg->payload + msg->length);
+	invalidate_dcache_range(msg->payload, msg->payload + msg->length);
 
 	if (msg->type == SM_PACKET_READY)
 		sm_send_packet_ack(session, msg->src_ep, message->src,
@@ -983,7 +983,7 @@ static int sm_default_sendmsg(struct sm_message *message, struct sm_session *ses
 	switch (session->type) {
 	case SP_PACKET:
 	case SP_SESSION_PACKET:
-		blackfin_dcache_flush_range(msg->payload, msg->payload + msg->length);
+		flush_dcache_range(msg->payload, msg->payload + msg->length);
 	case SP_SCALAR:
 	case SP_SESSION_SCALAR:
 		list_add(&message->next, &session->tx_messages);
@@ -1086,7 +1086,7 @@ matched1:
 	case SM_PACKET_READY:
 	case SM_SESSION_PACKET_READY:
 		if (SM_MSG_PROTOCOL(msg->type) != session->type) {
-			coreb_msg("msg type %08x unmatch session type %08x\n", msg->type, session->type);
+			sm_debug("msg type %08x unmatch session type %08x\n", msg->type, session->type);
 			break;
 		}
 		msg_recv_internal(msg, session);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to