Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / x86 / include / asm / kaslr.h
blob460991e3b529b6d21bfc3bfa300c61a06a46a8f0
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_KASLR_H_
3 #define _ASM_KASLR_H_
5 unsigned long kaslr_get_random_long(const char *purpose);
7 #ifdef CONFIG_RANDOMIZE_MEMORY
8 extern unsigned long page_offset_base;
9 extern unsigned long vmalloc_base;
10 extern unsigned long vmemmap_base;
12 void kernel_randomize_memory(void);
13 #else
14 static inline void kernel_randomize_memory(void) { }
15 #endif /* CONFIG_RANDOMIZE_MEMORY */
17 #endif