 486c0a0bc8
			
		
	
	
	486c0a0bc8
	
	
	
		
			
			Right now the page table upgrade does not happen if the end address of a fixed mapping is greater than TASK_SIZE. Enhance s390_mmap_check() to handle MAP_FIXED mappings correctly. Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			392 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			392 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  *  S390 version
 | |
|  *
 | |
|  *  Derived from "include/asm-i386/mman.h"
 | |
|  */
 | |
| #ifndef __S390_MMAN_H__
 | |
| #define __S390_MMAN_H__
 | |
| 
 | |
| #include <uapi/asm/mman.h>
 | |
| 
 | |
| #if !defined(__ASSEMBLY__) && defined(CONFIG_64BIT)
 | |
| int s390_mmap_check(unsigned long addr, unsigned long len, unsigned long flags);
 | |
| #define arch_mmap_check(addr, len, flags) s390_mmap_check(addr, len, flags)
 | |
| #endif
 | |
| #endif /* __S390_MMAN_H__ */
 |