mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Fix patch for brcm2708 copy_to_user
This commit is contained in:
parent
be529bd523
commit
fba962422b
1 changed files with 5 additions and 2 deletions
|
@ -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
|
index 7a4b06049001..fb40a1b3a5b7 100644
|
||||||
--- a/arch/arm/lib/copy_from_user.S
|
--- a/arch/arm/lib/copy_from_user.S
|
||||||
+++ b/arch/arm/lib/copy_from_user.S
|
+++ b/arch/arm/lib/copy_from_user.S
|
||||||
@@ -89,11 +89,13 @@
|
@@ -89,7 +89,8 @@
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
-ENTRY(arm_copy_from_user)
|
-ENTRY(arm_copy_from_user)
|
||||||
+ENTRY(__copy_from_user_std)
|
+ENTRY(__copy_from_user_std)
|
||||||
+WEAK(arm_copy_from_user)
|
+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"
|
#include "copy_template.S"
|
||||||
|
|
||||||
ENDPROC(arm_copy_from_user)
|
ENDPROC(arm_copy_from_user)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue