forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
kernel/arch/mips/power/cpu.c
....@@ -1,7 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Suspend support specific for mips.
3
- *
4
- * Licensed under the GPLv2
54 *
65 * Copyright (C) 2009 Lemote Inc.
76 * Author: Hu Hongbing <huhb@lemote.com>
....@@ -20,8 +19,8 @@
2019
2120 if (is_fpu_owner())
2221 save_fp(current);
23
- if (cpu_has_dsp)
24
- save_dsp(current);
22
+
23
+ save_dsp(current);
2524 }
2625
2726 void restore_processor_state(void)
....@@ -30,8 +29,8 @@
3029
3130 if (is_fpu_owner())
3231 restore_fp(current);
33
- if (cpu_has_dsp)
34
- restore_dsp(current);
32
+
33
+ restore_dsp(current);
3534 }
3635
3736 int pfn_is_nosave(unsigned long pfn)