Provide MADV_* definitions using target_mman.h header, similar to what kernel does. Most architectures use the same values, with the exception of alpha and hppa. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220906000839.1672934-2-iii@linux.ibm.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
		
			
				
	
	
		
			16 lines
		
	
	
		
			364 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			364 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef HPPA_TARGET_MMAN_H
 | 
						|
#define HPPA_TARGET_MMAN_H
 | 
						|
 | 
						|
#define TARGET_MADV_MERGEABLE 65
 | 
						|
#define TARGET_MADV_UNMERGEABLE 66
 | 
						|
#define TARGET_MADV_HUGEPAGE 67
 | 
						|
#define TARGET_MADV_NOHUGEPAGE 68
 | 
						|
#define TARGET_MADV_DONTDUMP 69
 | 
						|
#define TARGET_MADV_DODUMP 70
 | 
						|
#define TARGET_MADV_WIPEONFORK 71
 | 
						|
#define TARGET_MADV_KEEPONFORK 72
 | 
						|
 | 
						|
#include "../generic/target_mman.h"
 | 
						|
 | 
						|
#endif
 |