mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 14:52:05 +00:00
e4df2d5e85
Try to access RAM with the largest bit width possible, but without doing unaligned accesses. A further improvement could be to use multiple read and writes as the assembly version was trying to do. Tested on a BeagleV Starlight with a SiFive U74 core, where the improvement is noticeable. Signed-off-by: Matteo Croce <mcroce@microsoft.com> Co-developed-by: Guo Ren <guoren@linux.alibaba.com> Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
7 lines
208 B
Makefile
7 lines
208 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
lib-y := usercopy.o delay.o
|
|
obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
|
|
ifneq ($(CONFIG_HAVE_EFFICIENT_UNALIGNED_STRING_OPS), y)
|
|
lib-y += string.o
|
|
endif
|