mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-09 02:51:11 +01:00
Defining static shadow call stacks is not architecture-specific, so move the DEFINE_SCS() macro into the core header file. Tested-by: Sami Tolvanen <[email protected]> Reviewed-by: Mark Rutland <[email protected]> Signed-off-by: Will Deacon <[email protected]>
17 lines
323 B
C
17 lines
323 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Shadow Call Stack support.
|
|
*
|
|
* Copyright (C) 2019 Google LLC
|
|
*/
|
|
|
|
#include <linux/percpu.h>
|
|
#include <linux/scs.h>
|
|
|
|
DEFINE_SCS(irq_shadow_call_stack);
|
|
|
|
#ifdef CONFIG_ARM_SDE_INTERFACE
|
|
DEFINE_SCS(sdei_shadow_call_stack_normal);
|
|
DEFINE_SCS(sdei_shadow_call_stack_critical);
|
|
#endif
|