.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * SN Platform GRU Driver |
---|
3 | 4 | * |
---|
4 | 5 | * KERNEL SERVICES THAT USE THE GRU |
---|
5 | 6 | * |
---|
6 | 7 | * Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or modify |
---|
9 | | - * it under the terms of the GNU General Public License as published by |
---|
10 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
11 | | - * (at your option) any later version. |
---|
12 | | - * |
---|
13 | | - * This program is distributed in the hope that it will be useful, |
---|
14 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | | - * GNU General Public License for more details. |
---|
17 | | - * |
---|
18 | | - * You should have received a copy of the GNU General Public License |
---|
19 | | - * along with this program; if not, write to the Free Software |
---|
20 | | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
21 | 8 | */ |
---|
22 | 9 | |
---|
23 | 10 | #include <linux/kernel.h> |
---|
.. | .. |
---|
29 | 16 | #include <linux/miscdevice.h> |
---|
30 | 17 | #include <linux/proc_fs.h> |
---|
31 | 18 | #include <linux/interrupt.h> |
---|
| 19 | +#include <linux/sync_core.h> |
---|
32 | 20 | #include <linux/uaccess.h> |
---|
33 | 21 | #include <linux/delay.h> |
---|
34 | 22 | #include <linux/export.h> |
---|
.. | .. |
---|
634 | 622 | break; |
---|
635 | 623 | case CBSS_PAGE_OVERFLOW: |
---|
636 | 624 | STAT(mesq_noop_page_overflow); |
---|
637 | | - /* fallthru */ |
---|
| 625 | + fallthrough; |
---|
638 | 626 | default: |
---|
639 | 627 | BUG(); |
---|
640 | 628 | } |
---|
.. | .. |
---|
792 | 780 | break; |
---|
793 | 781 | case CBSS_PAGE_OVERFLOW: |
---|
794 | 782 | STAT(mesq_page_overflow); |
---|
795 | | - /* fallthru */ |
---|
| 783 | + fallthrough; |
---|
796 | 784 | default: |
---|
797 | 785 | BUG(); |
---|
798 | 786 | } |
---|