.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Suspend support specific for mips. |
---|
3 | | - * |
---|
4 | | - * Licensed under the GPLv2 |
---|
5 | 4 | * |
---|
6 | 5 | * Copyright (C) 2009 Lemote Inc. |
---|
7 | 6 | * Author: Hu Hongbing <huhb@lemote.com> |
---|
.. | .. |
---|
20 | 19 | |
---|
21 | 20 | if (is_fpu_owner()) |
---|
22 | 21 | save_fp(current); |
---|
23 | | - if (cpu_has_dsp) |
---|
24 | | - save_dsp(current); |
---|
| 22 | + |
---|
| 23 | + save_dsp(current); |
---|
25 | 24 | } |
---|
26 | 25 | |
---|
27 | 26 | void restore_processor_state(void) |
---|
.. | .. |
---|
30 | 29 | |
---|
31 | 30 | if (is_fpu_owner()) |
---|
32 | 31 | restore_fp(current); |
---|
33 | | - if (cpu_has_dsp) |
---|
34 | | - restore_dsp(current); |
---|
| 32 | + |
---|
| 33 | + restore_dsp(current); |
---|
35 | 34 | } |
---|
36 | 35 | |
---|
37 | 36 | int pfn_is_nosave(unsigned long pfn) |
---|