| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * PowerPC 64-bit swsusp implementation |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> |
|---|
| 5 | | - * |
|---|
| 6 | | - * GPLv2 |
|---|
| 7 | 6 | */ |
|---|
| 8 | 7 | |
|---|
| 9 | 8 | #include <linux/threads.h> |
|---|
| .. | .. |
|---|
| 143 | 142 | _GLOBAL(swsusp_arch_resume) |
|---|
| 144 | 143 | /* Stop pending alitvec streams and memory accesses */ |
|---|
| 145 | 144 | BEGIN_FTR_SECTION |
|---|
| 146 | | - DSSALL |
|---|
| 145 | + PPC_DSSALL |
|---|
| 147 | 146 | END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC) |
|---|
| 148 | 147 | sync |
|---|
| 149 | 148 | |
|---|
| .. | .. |
|---|
| 262 | 261 | |
|---|
| 263 | 262 | addi r1,r1,-128 |
|---|
| 264 | 263 | #ifdef CONFIG_PPC_BOOK3S_64 |
|---|
| 265 | | - bl slb_flush_and_rebolt |
|---|
| 264 | + bl slb_flush_and_restore_bolted |
|---|
| 266 | 265 | #endif |
|---|
| 267 | 266 | bl do_after_copyback |
|---|
| 268 | 267 | addi r1,r1,128 |
|---|