1 #ifndef _ASM_KASLR_H_ 2 #define _ASM_KASLR_H_ 3 4 unsigned long kaslr_get_random_long(const char *purpose); 5 6 #ifdef CONFIG_RANDOMIZE_MEMORY 7 extern unsigned long page_offset_base; 8 extern unsigned long vmalloc_base; 9 extern unsigned long vmemmap_base; 10 11 void kernel_randomize_memory(void); 12 #else 13 static inline void kernel_randomize_memory(void) { } 14 #endif /* CONFIG_RANDOMIZE_MEMORY */ 15 16 #endif 17