2020-04-27 16:00:16 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
/*
|
|
|
|
* Shadow Call Stack support.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2019 Google LLC
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/percpu.h>
|
2020-05-15 13:56:05 +00:00
|
|
|
#include <linux/scs.h>
|
2020-04-27 16:00:16 +00:00
|
|
|
|
|
|
|
DEFINE_SCS(irq_shadow_call_stack);
|
2020-04-27 16:00:17 +00:00
|
|
|
|
|
|
|
#ifdef CONFIG_ARM_SDE_INTERFACE
|
|
|
|
DEFINE_SCS(sdei_shadow_call_stack_normal);
|
|
|
|
DEFINE_SCS(sdei_shadow_call_stack_critical);
|
|
|
|
#endif
|