diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2021-12-17 12:17:24 +1000 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2021-12-17 10:34:23 +0100 |
commit | 9d4ca64be70860e08259a1bced6c54bdf5cb7aa3 (patch) | |
tree | fd1eecdae1afb92f370f01428462fc0f440721af /libflash/libflash-priv.h | |
parent | d30c3d885581a0a07080b5a7af10eff8b13e0643 (diff) | |
download | skiboot-9d4ca64be70860e08259a1bced6c54bdf5cb7aa3.zip skiboot-9d4ca64be70860e08259a1bced6c54bdf5cb7aa3.tar.gz skiboot-9d4ca64be70860e08259a1bced6c54bdf5cb7aa3.tar.bz2 |
core/cpu: move sleep/wake synchronisation out from low level code
The sleep/wake synchronisation involes the waker setting a wake
condition then testing if the target needs to be woken, vs setting
a wake-required flag then testing the wake condition. The low level
sleep state call comes after that.
This patch moves the synchronisation out from the low level sleep
functions and consolidates both copies into one place.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'libflash/libflash-priv.h')
0 files changed, 0 insertions, 0 deletions