Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Copyright 2013, Michael Ellerman, IBM Corporation.
0004  */
0005 
0006 /* These are ordered and tested with <= */
0007 #define SYNC_STEP_INITIAL   0
0008 #define SYNC_STEP_UNSPLIT   1   /* Set by secondary when it sees unsplit */
0009 #define SYNC_STEP_REAL_MODE 2   /* Set by secondary when in real mode  */
0010 #define SYNC_STEP_FINISHED  3   /* Set by secondary when split/unsplit is done */
0011 
0012 #ifndef __ASSEMBLY__
0013 
0014 #ifdef CONFIG_SMP
0015 void split_core_secondary_loop(u8 *state);
0016 extern void update_subcore_sibling_mask(void);
0017 #else
0018 static inline void update_subcore_sibling_mask(void) { }
0019 #endif /* CONFIG_SMP */
0020 
0021 #endif /* __ASSEMBLY__ */