summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-01-16 15:58:41 +0100
committerArnd Bergmann <arnd@arndb.de>2021-07-27 23:01:13 +0200
commitb26b181651f3214fa2383411fb85029b7f3e1788 (patch)
tree06163a94c86fc93e2c7ef7c70caeb651b8da2859 /include/asm-generic
parent0cd1151886933d4845db02b3d09ad4df62d44c50 (diff)
microblaze: use generic strncpy/strnlen from_user
Remove the microblaze implemenation of strncpy/strnlen and instead use the generic versions. The microblaze version is fairly slow because it always does byte accesses even for aligned data, and it lacks a checks for user_addr_max(). Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions