Matthew Wilcox ac036f9570 vga: optimise console scrolling
Where possible, call memset16(), memmove() or memcpy() instead of using
open-coded loops.  I don't like the calling convention that uses a byte
count instead of a count of u16s, but it's a little late to change that.
Reduces code size of fbcon.o by almost 400 bytes on my laptop build.

[akpm@linux-foundation.org: fix build]
Link: http://lkml.kernel.org/r/20170720184539.31609-9-willy@infradead.org
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: David Miller <davem@davemloft.net>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Russell King <rmk+kernel@armlinux.org.uk>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-09-08 18:26:48 -07:00
..
2008-12-09 00:50:13 -08:00
2016-01-12 20:46:57 +02:00
2012-03-28 18:30:03 +01:00
2015-05-13 10:55:42 +02:00
2012-03-28 18:30:03 +01:00
2014-08-26 13:45:55 -04:00
2014-04-29 01:12:25 -04:00
2008-08-31 20:56:15 -07:00
2013-03-20 11:06:54 -07:00
2017-06-10 14:10:54 -07:00
2012-05-15 10:22:00 -07:00
2017-06-06 13:45:28 -07:00
2012-03-28 18:30:03 +01:00
2014-05-02 01:30:20 -04:00
2017-06-06 13:45:29 -07:00
2016-01-12 20:46:49 +02:00
2017-06-12 15:44:01 -07:00
2016-09-28 20:40:52 -04:00
2016-03-22 15:36:02 -07:00
2012-04-15 10:28:50 -07:00
2017-02-23 08:30:28 -08:00
2016-12-11 18:01:51 -08:00
2017-05-15 23:40:22 -04:00
2017-03-28 16:43:25 -04:00
2012-07-26 16:46:16 -07:00
2017-09-08 18:26:48 -07:00