diff options
| author | Matthew Wilcox <[email protected]> | 2017-09-08 23:14:15 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-09-09 01:26:48 +0000 |
| commit | ac036f9570a2d318b7d8dbbdbf0e269d7cc68cef (patch) | |
| tree | fe4b5aa299c97e2b496d6b1a9e0fe93f1e7b3f22 /arch/powerpc/sysdev/xive/native.c | |
| parent | drivers/scsi/sym53c8xx_2/sym_hipd.c: convert to use memset32 (diff) | |
| download | kernel-ac036f9570a2d318b7d8dbbdbf0e269d7cc68cef.tar.gz kernel-ac036f9570a2d318b7d8dbbdbf0e269d7cc68cef.zip | |
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.
[[email protected]: fix build]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: David Miller <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: "Martin K. Petersen" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Ivan Kokshaysky <[email protected]>
Cc: Matt Turner <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Richard Henderson <[email protected]>
Cc: Russell King <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/powerpc/sysdev/xive/native.c')
0 files changed, 0 insertions, 0 deletions
