]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/stackprotector.h
ACPI: fix acpi_find_child_device() invocation in acpi_preset_companion()
[mirror_ubuntu-bionic-kernel.git] / include / linux / stackprotector.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
9b5609fd
IM
2#ifndef _LINUX_STACKPROTECTOR_H
3#define _LINUX_STACKPROTECTOR_H 1
4
42059429
IM
5#include <linux/compiler.h>
6#include <linux/sched.h>
7#include <linux/random.h>
8
9b5609fd
IM
9#ifdef CONFIG_CC_STACKPROTECTOR
10# include <asm/stackprotector.h>
18aa8bb1
IM
11#else
12static inline void boot_init_stack_canary(void)
13{
14}
9b5609fd
IM
15#endif
16
17#endif