mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 3/3] unlzo: add poller call to unlzo routine
Date: Wed, 15 Sep 2010 09:26:36 +0200	[thread overview]
Message-ID: <1284535596-26814-4-git-send-email-mkl@pengutronix.de> (raw)
In-Reply-To: <1284535596-26814-1-git-send-email-mkl@pengutronix.de>

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 lib/decompress_unlzo.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/decompress_unlzo.c b/lib/decompress_unlzo.c
index 8f9cdcf..e9378c4 100644
--- a/lib/decompress_unlzo.c
+++ b/lib/decompress_unlzo.c
@@ -37,6 +37,7 @@
 #include <errno.h>
 #include <fs.h>
 #include <xfuncs.h>
+#include <poller.h>
 
 #include <linux/compiler.h>
 #include <asm/unaligned.h>
@@ -187,6 +188,8 @@ int unlzo(int in_fd, int out_fd, int *dest_len)
 		}
 
 		obytes_processed += dst_len;
+
+		poller_call();
 	}
 
 exit_free:
-- 
1.7.0.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      parent reply	other threads:[~2010-09-15  7:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-15  7:26 [PATCH 0/3] add generic polling infrastructure Marc Kleine-Budde
2010-09-15  7:26 ` [PATCH 1/3] poller: add poller support Marc Kleine-Budde
2010-09-15  7:47   ` Jean-Christophe PLAGNIOL-VILLARD
2010-09-15  8:30     ` Marc Kleine-Budde
2010-09-15  7:26 ` [PATCH 2/3] clock: add poller call to is_timeout() Marc Kleine-Budde
2010-09-15  7:26 ` Marc Kleine-Budde [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1284535596-26814-4-git-send-email-mkl@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox