linux/arch
Arnd Bergmann e6226997ec asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols
Most architectures do not need a custom implementation, and in most
cases the generic implementation is preferred, so change the polariy
on these Kconfig symbols to require architectures to select them when
they provide their own version.

The new name is CONFIG_ARCH_HAS_{STRNCPY_FROM,STRNLEN}_USER.

The remaining architectures at the moment are: ia64, mips, parisc,
um and xtensa. We should probably convert these as well, but
I was not sure how far to take this series. Thomas Bogendoerfer
had some concerns about converting mips but may still do some
more detailed measurements to see which version is better.

Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Helge Deller <deller@gmx.de>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: linux-ia64@vger.kernel.org
Cc: linux-mips@vger.kernel.org
Cc: linux-parisc@vger.kernel.org
Cc: linux-s390@vger.kernel.org
Cc: linux-um@lists.infradead.org
Cc: linux-xtensa@linux-xtensa.org
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Helge Deller <deller@gmx.de> # parisc
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-07-30 10:30:21 +02:00
..
alpha asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
arc asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
arm asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
arm64 asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
csky asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
h8300 asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
hexagon asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
ia64 asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
m68k asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
microblaze asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
mips asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
nds32 asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
nios2 asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
openrisc asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
parisc asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
powerpc asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
riscv asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
s390 asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
sh asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
sparc asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
um asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
x86 asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
xtensa asm-generic: reverse GENERIC_{STRNCPY_FROM,STRNLEN}_USER symbols 2021-07-30 10:30:21 +02:00
.gitignore
Kconfig Kconfig: Introduce ARCH_WANTS_NO_INSTR and CC_HAS_NO_PROFILE_FN_ATTR 2021-06-22 11:07:18 -07:00