| 
									
										
										
										
											2008-07-17 21:55:51 -07:00
										 |  |  | #ifndef ___ASM_SPARC_UACCESS_H
 | 
					
						
							|  |  |  | #define ___ASM_SPARC_UACCESS_H
 | 
					
						
							|  |  |  | #if defined(__sparc__) && defined(__arch64__)
 | 
					
						
							| 
									
										
										
										
											2008-07-27 23:00:59 +02:00
										 |  |  | #include <asm/uaccess_64.h>
 | 
					
						
							| 
									
										
										
										
											2008-07-17 21:55:51 -07:00
										 |  |  | #else
 | 
					
						
							| 
									
										
										
										
											2008-07-27 23:00:59 +02:00
										 |  |  | #include <asm/uaccess_32.h>
 | 
					
						
							| 
									
										
										
										
											2008-07-17 21:55:51 -07:00
										 |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2012-05-22 17:53:19 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-23 19:56:06 -07:00
										 |  |  | #define user_addr_max() \
 | 
					
						
							| 
									
										
										
										
											2012-05-24 13:41:58 -07:00
										 |  |  | 	(segment_eq(get_fs(), USER_DS) ? TASK_SIZE : ~0UL) | 
					
						
							| 
									
										
										
										
											2012-05-23 19:56:06 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-05-16 23:25:50 +02:00
										 |  |  | long strncpy_from_user(char *dest, const char __user *src, long count); | 
					
						
							| 
									
										
										
										
											2012-05-22 17:53:19 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | #endif
 |