[PATCH 3/3] unlzo: add poller call to unlzo routine

Marc Kleine-Budde mkl at pengutronix.de
Wed Sep 15 03:26:36 EDT 2010


Signed-off-by: Marc Kleine-Budde <mkl at 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




More information about the barebox mailing list