diff --git a/root/target/linux/brcm2708/patches-4.14/0061-Improve-__copy_to_user-and-__copy_from_user-performa.patch b/root/target/linux/brcm2708/patches-4.14/0061-Improve-__copy_to_user-and-__copy_from_user-performa.patch index 0370384f..0dcc3a60 100644 --- a/root/target/linux/brcm2708/patches-4.14/0061-Improve-__copy_to_user-and-__copy_from_user-performa.patch +++ b/root/target/linux/brcm2708/patches-4.14/0061-Improve-__copy_to_user-and-__copy_from_user-performa.patch @@ -274,14 +274,17 @@ diff --git a/arch/arm/lib/copy_from_user.S b/arch/arm/lib/copy_from_user.S index 7a4b06049001..fb40a1b3a5b7 100644 --- a/arch/arm/lib/copy_from_user.S +++ b/arch/arm/lib/copy_from_user.S -@@ -89,11 +89,13 @@ +@@ -89,7 +89,8 @@ .text -ENTRY(arm_copy_from_user) +ENTRY(__copy_from_user_std) +WEAK(arm_copy_from_user) - + #ifdef CONFIG_CPU_SPECTRE + get_thread_info r3 + ldr r3, [r3, #TI_ADDR_LIMIT] +@@ -103,6 +104,7 @@ #include "copy_template.S" ENDPROC(arm_copy_from_user)