this devide the time by 4 on x86 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> --- drivers/video/fbconsole.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/fbconsole.c b/drivers/video/fbconsole.c index b261f1704..b5e951e23 100644 --- a/drivers/video/fbconsole.c +++ b/drivers/video/fbconsole.c @@ -6,6 +6,7 @@ #include <gui/image_renderer.h> #include <gui/graphic_utils.h> #include <linux/font.h> +#include <linux/io.h> enum state_t { LIT, /* Literal input */ @@ -202,7 +203,7 @@ static void printchar(struct fbc_priv *priv, int c) buf = gui_screen_render_buffer(priv->sc); - memcpy(buf, buf + line_height, line_height * priv->rows); + __iowrite64_copy(buf, buf + line_height, (line_height * priv->rows) >> 2); memset(buf + line_height * priv->rows, 0, line_height); gu_screen_blit(priv->sc); -- 2.11.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox