x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / x86 / include / asm / kaslr.h
blob1052a797d71d0b488eb6973b1ec512005afbe757
1 #ifndef _ASM_KASLR_H_
2 #define _ASM_KASLR_H_
4 unsigned long kaslr_get_random_long(const char *purpose);
6 #ifdef CONFIG_RANDOMIZE_MEMORY
7 extern unsigned long page_offset_base;
8 extern unsigned long vmalloc_base;
9 extern unsigned long vmemmap_base;
11 void kernel_randomize_memory(void);
12 #else
13 static inline void kernel_randomize_memory(void) { }
14 #endif /* CONFIG_RANDOMIZE_MEMORY */
16 #endif