forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/arch/powerpc/kernel/swsusp_asm64.S
....@@ -1,9 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * PowerPC 64-bit swsusp implementation
34 *
45 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net>
5
- *
6
- * GPLv2
76 */
87
98 #include <linux/threads.h>
....@@ -143,7 +142,7 @@
143142 _GLOBAL(swsusp_arch_resume)
144143 /* Stop pending alitvec streams and memory accesses */
145144 BEGIN_FTR_SECTION
146
- DSSALL
145
+ PPC_DSSALL
147146 END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC)
148147 sync
149148
....@@ -262,7 +261,7 @@
262261
263262 addi r1,r1,-128
264263 #ifdef CONFIG_PPC_BOOK3S_64
265
- bl slb_flush_and_rebolt
264
+ bl slb_flush_and_restore_bolted
266265 #endif
267266 bl do_after_copyback
268267 addi r1,r1,128