1 /*
2  * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef SPE_H
8 #define SPE_H
9 
10 #include <stdbool.h>
11 
12 #if ENABLE_SPE_FOR_NS
13 void spe_enable(bool el2_unused);
14 void spe_disable(void);
15 #else
spe_enable(bool el2_unused)16 static inline void spe_enable(bool el2_unused)
17 {
18 }
spe_disable(void)19 static inline void spe_disable(void)
20 {
21 }
22 #endif
23 
24 #endif /* SPE_H */
25