diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2021-12-20 22:22:48 +1000 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2022-01-03 16:12:45 +0100 |
commit | 402b822a7074053d59c8c49ffb5e58b2d5028f54 (patch) | |
tree | 77cf8daf1f4e1bb2b2c3cf5ac179c4f72bf138a1 /core | |
parent | 0475a94b2faa9685eb8f4314e9a0d0e42771ea57 (diff) | |
download | skiboot-402b822a7074053d59c8c49ffb5e58b2d5028f54.zip skiboot-402b822a7074053d59c8c49ffb5e58b2d5028f54.tar.gz skiboot-402b822a7074053d59c8c49ffb5e58b2d5028f54.tar.bz2 |
hw/slw: Move P8 bits behind CONFIG_P8
This saves about 10kB from skiboot.lid.xz
Reviewed-by: Dan Horák <dan@danny.cz>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/fast-reboot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fast-reboot.c b/core/fast-reboot.c index 9f92525..2696348 100644 --- a/core/fast-reboot.c +++ b/core/fast-reboot.c @@ -272,6 +272,7 @@ static void cleanup_cpu_state(void) /* XXX Update the SLW copies ! Also dbl check HIDs etc... */ init_shared_sprs(); +#ifdef CONFIG_P8 if (proc_gen == proc_gen_p8) { /* If somebody was in fast_sleep, we may have a * workaround to undo @@ -287,6 +288,7 @@ static void cleanup_cpu_state(void) */ cleanup_local_tlb(); } +#endif /* And we might have lost TB sync */ chiptod_wakeup_resync(); |