printf: Remove unused 'bprintf'
[drm/drm-misc.git] / arch / mips / loongson64 / sleeper.S
blobcf16877409e2f89d878bb96dd809ae056dd15428
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  *  Copyright (C) 2024, Jiaxun Yang <jiaxun.yang@flygoat.com>
4  *  Loongson EFI firmware sleeper routine
5  */
7 #include <asm/asm.h>
8 #include <asm/pm.h>
10 #include <kernel-entry-init.h>
12 LEAF(loongson_lefi_sleep)
13         SUSPEND_SAVE
14         move    t9, a0
15         PTR_LA  a0, wake
16         move    a1, sp
17         jalr    t9
18 wake:
19         smp_slave_setup
20         RESUME_RESTORE_REGS_RETURN
21 END(loongson_lefi_sleep)