summaryrefslogtreecommitdiffstats
path: root/include/linux/elf-randomize.h
blob: 7a4eda02d2b1f7dab3b662ce7cda6fc28b693b62 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef _ELF_RANDOMIZE_H
#define _ELF_RANDOMIZE_H

#ifndef CONFIG_ARCH_HAS_ELF_RANDOMIZE
static inline unsigned long arch_mmap_rnd(void) { return 0; }
#else
extern unsigned long arch_mmap_rnd(void);
#endif

#endif
OpenPOWER on IntegriCloud