blob: 683c9d7363146df55be21b5497b42742378a8982 [file] [log] [blame]
Thomas Garnierd899a7d2016-06-21 17:46:58 -07001#ifndef _ASM_KASLR_H_
2#define _ASM_KASLR_H_
3
4unsigned long kaslr_get_random_long(const char *purpose);
5
Thomas Garnier0483e1f2016-06-21 17:47:02 -07006#ifdef CONFIG_RANDOMIZE_MEMORY
7void kernel_randomize_memory(void);
8#else
9static inline void kernel_randomize_memory(void) { }
10#endif /* CONFIG_RANDOMIZE_MEMORY */
11
Thomas Garnierd899a7d2016-06-21 17:46:58 -070012#endif