diff options
Diffstat (limited to 'SOURCES/0001-ARM-fix-__get_user_check-in-case-uaccess_-calls-are-.patch')
-rw-r--r-- | SOURCES/0001-ARM-fix-__get_user_check-in-case-uaccess_-calls-are-.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/SOURCES/0001-ARM-fix-__get_user_check-in-case-uaccess_-calls-are-.patch b/SOURCES/0001-ARM-fix-__get_user_check-in-case-uaccess_-calls-are-.patch index c5a4360..283ac06 100644 --- a/SOURCES/0001-ARM-fix-__get_user_check-in-case-uaccess_-calls-are-.patch +++ b/SOURCES/0001-ARM-fix-__get_user_check-in-case-uaccess_-calls-are-.patch @@ -51,10 +51,10 @@ Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/include/asm/uaccess.h b/arch/arm/include/asm/uaccess.h -index 98c6b91be4a8..60055827dddc 100644 +index b5fdd30252f8..d43ceaa78269 100644 --- a/arch/arm/include/asm/uaccess.h +++ b/arch/arm/include/asm/uaccess.h -@@ -191,11 +191,12 @@ extern int __get_user_64t_4(void *); +@@ -195,11 +195,12 @@ extern int __get_user_64t_4(void *); #define __get_user_check(x, p) \ ({ \ unsigned long __limit = current_thread_info()->addr_limit - 1; \ @@ -68,7 +68,7 @@ index 98c6b91be4a8..60055827dddc 100644 switch (sizeof(*(__p))) { \ case 1: \ if (sizeof((x)) >= 8) \ -@@ -223,9 +224,10 @@ extern int __get_user_64t_4(void *); +@@ -227,9 +228,10 @@ extern int __get_user_64t_4(void *); break; \ default: __e = __get_user_bad(); break; \ } \ @@ -82,5 +82,5 @@ index 98c6b91be4a8..60055827dddc 100644 #define get_user(x, p) \ -- -2.26.2 +2.28.0 |