hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/arch/hexagon/include/asm/bitops.h
....@@ -1,22 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Bit operations for the Hexagon architecture
34 *
45 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
5
- *
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 and
9
- * only version 2 as published by the Free Software Foundation.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program; if not, write to the Free Software
18
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19
- * 02110-1301, USA.
206 */
217
228 #ifndef _ASM_BITOPS_H
....@@ -211,7 +197,7 @@
211197 * This is defined the same way as ffs.
212198 * Note fls(0) = 0, fls(1) = 1, fls(0x80000000) = 32.
213199 */
214
-static inline int fls(int x)
200
+static inline int fls(unsigned int x)
215201 {
216202 int r;
217203