1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright 2013, Michael Ellerman, IBM Corporation.
4  */
5 
6 /* These are ordered and tested with <= */
7 #define SYNC_STEP_INITIAL	0
8 #define SYNC_STEP_UNSPLIT	1	/* Set by secondary when it sees unsplit */
9 #define SYNC_STEP_REAL_MODE	2	/* Set by secondary when in real mode  */
10 #define SYNC_STEP_FINISHED	3	/* Set by secondary when split/unsplit is done */
11 
12 #ifndef __ASSEMBLY__
13 
14 #ifdef CONFIG_SMP
15 void split_core_secondary_loop(u8 *state);
16 extern void update_subcore_sibling_mask(void);
17 #else
18 static inline void update_subcore_sibling_mask(void) { }
19 #endif /* CONFIG_SMP */
20 
21 #endif /* __ASSEMBLY__ */
22