mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 20:06:46 +00:00 
			
		
		
		
	 2ea1d13f64
			
		
	
	
		2ea1d13f64
		
	
	
	
	
		
			
			Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
		
			
				
	
	
		
			5 lines
		
	
	
		
			145 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			145 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #include <asm-generic/mman.h>
 | |
| 
 | |
| #define arch_mmap_check(addr, len, flags) \
 | |
| 	(((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
 |