OpenCloudOS-Kernel/arch/alpha/lib
Matthew Wilcox 92ce4c3ea7 alpha: add support for memset16
Alpha already had an optimised fill-memory-with-16-bit-quantity
assembler routine called memsetw().  It has a slightly different calling
convention from memset16() in that it takes a byte count, not a count of
words.  That's the same convention used by ARM's __memset routines, so
rename Alpha's routine to match and add a memset16() wrapper around it.
Then convert Alpha's scr_memsetw() to call memset16() instead of
memsetw().

Link: http://lkml.kernel.org/r/20170720184539.31609-6-willy@infradead.org
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
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: David Miller <davem@davemloft.net>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Russell King <rmk+kernel@armlinux.org.uk>
Cc: Sam Ravnborg <sam@ravnborg.org>
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
..
Makefile alpha: Package string routines together 2017-08-29 12:01:46 -07:00
callback_srm.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
checksum.c alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
clear_page.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
clear_user.S alpha: switch __copy_user() and __do_clean_user() to normal calling conventions 2017-03-28 18:23:16 -04:00
copy_page.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
copy_user.S alpha: Fix typo in ev6-copy_user.S 2017-08-29 12:01:49 -07:00
csum_ipv6_magic.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
csum_partial_copy.c alpha: add a helper for emitting exception table entries 2017-03-28 18:23:19 -04:00
dbg_current.S
dbg_stackcheck.S
dbg_stackkill.S
dec_and_lock.c alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
divide.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
ev6-clear_page.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
ev6-clear_user.S alpha: switch __copy_user() and __do_clean_user() to normal calling conventions 2017-03-28 18:23:16 -04:00
ev6-copy_page.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
ev6-copy_user.S alpha: Fix typo in ev6-copy_user.S 2017-08-29 12:01:49 -07:00
ev6-csum_ipv6_magic.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
ev6-divide.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
ev6-memchr.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
ev6-memcpy.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
ev6-memset.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
ev6-stxcpy.S
ev6-stxncpy.S alpha: strncpy/strncat fixes 2007-12-17 19:28:15 -08:00
ev67-strcat.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
ev67-strchr.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
ev67-strlen.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
ev67-strncat.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
ev67-strrchr.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
fls.c Fix common misspellings 2011-03-31 11:26:23 -03:00
fpreg.c alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
memchr.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
memcpy.c alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
memmove.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
memset.S alpha: add support for memset16 2017-09-08 18:26:48 -07:00
srm_printk.c
srm_puts.c
stacktrace.c Disintegrate asm/system.h for Alpha 2012-03-28 18:11:12 +01:00
strcat.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
strchr.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
strcpy.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
strlen.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
strncat.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
strncpy.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
strrchr.S alpha: move exports to actual definitions 2016-08-07 23:47:18 -04:00
stxcpy.S
stxncpy.S alpha: strncpy/strncat fixes 2007-12-17 19:28:15 -08:00
udelay.c alpha: lib: export __delay 2015-09-17 21:16:07 -07:00