Linux 5.7.6
[linux/fpc-iii.git] / arch / x86 / include / asm / kaslr.h
blobdb7ba2feb94708a6b4149b68f6f1220ba416f2b5
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 void kernel_randomize_memory(void);
9 #else
10 static inline void kernel_randomize_memory(void) { }
11 #endif /* CONFIG_RANDOMIZE_MEMORY */
13 #endif