--- linux-2.6.28/arch/arm/include/asm/uaccess.h.orig	2022-12-28 11:32:33.820671818 -0500
+++ linux-2.6.28/arch/arm/include/asm/uaccess.h	2022-12-28 11:33:49.557157836 -0500
@@ -143,7 +143,7 @@ extern int __put_user_8(void *, unsigned
 
 #define put_user(x,p)							\
 	({								\
-		register const typeof(*(p)) __r2 asm("r2") = (x);	\
+		register typeof(*(p)) __r2 asm("r2") = (x);	\
 		register const typeof(*(p)) __user *__p asm("r0") = (p);\
 		register int __e asm("r0");				\
 		switch (sizeof(*(__p))) {				\
