xtensa: fix high memory/reserved memory collision
[cris-mirror.git] / include / linux / stackprotector.h
blob03696c729fb4feeff3fc597f0dfc55304d8a8692
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_STACKPROTECTOR_H
3 #define _LINUX_STACKPROTECTOR_H 1
5 #include <linux/compiler.h>
6 #include <linux/sched.h>
7 #include <linux/random.h>
9 #ifdef CONFIG_CC_STACKPROTECTOR
10 # include <asm/stackprotector.h>
11 #else
12 static inline void boot_init_stack_canary(void)
15 #endif
17 #endif