powerpc/powernv: Report size of OPAL memcons log
[linux/fpc-iii.git] / arch / powerpc / platforms / powernv / subcore.h
blob84e02ae52895078036ea656f608b2c719f7ad994
1 /*
2 * Copyright 2013, Michael Ellerman, IBM Corporation.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 */
10 /* These are ordered and tested with <= */
11 #define SYNC_STEP_INITIAL 0
12 #define SYNC_STEP_UNSPLIT 1 /* Set by secondary when it sees unsplit */
13 #define SYNC_STEP_REAL_MODE 2 /* Set by secondary when in real mode */
14 #define SYNC_STEP_FINISHED 3 /* Set by secondary when split/unsplit is done */
16 #ifndef __ASSEMBLY__
18 #ifdef CONFIG_SMP
19 void split_core_secondary_loop(u8 *state);
20 extern void update_subcore_sibling_mask(void);
21 #else
22 static inline void update_subcore_sibling_mask(void) { };
23 #endif /* CONFIG_SMP */
25 #endif /* __ASSEMBLY__ */