forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/powerpc/platforms/cell/spufs/switch.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * spu_switch.c
34 *
....@@ -15,21 +16,6 @@
1516 * this is not possible, this sequence may be used to premptively
1617 * save, and then later (optionally) restore the context of a
1718 * program executing on an SPE.
18
- *
19
- *
20
- * This program is free software; you can redistribute it and/or modify
21
- * it under the terms of the GNU General Public License as published by
22
- * the Free Software Foundation; either version 2, or (at your option)
23
- * any later version.
24
- *
25
- * This program is distributed in the hope that it will be useful,
26
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
27
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28
- * GNU General Public License for more details.
29
- *
30
- * You should have received a copy of the GNU General Public License
31
- * along with this program; if not, write to the Free Software
32
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
3319 */
3420
3521 #include <linux/export.h>
....@@ -191,7 +177,7 @@
191177 POLL_WHILE_FALSE((in_be64(&priv2->mfc_control_RW) &
192178 MFC_CNTL_SUSPEND_DMA_STATUS_MASK) ==
193179 MFC_CNTL_SUSPEND_COMPLETE);
194
- /* fall through */
180
+ fallthrough;
195181 case MFC_CNTL_SUSPEND_COMPLETE:
196182 if (csa)
197183 csa->priv2.mfc_control_RW =