hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/c6x/include/asm/bitops.h
....@@ -1,12 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Port on Texas Instruments TMS320C6x architecture
34 *
45 * Copyright (C) 2004, 2009, 2010 Texas Instruments Incorporated
56 * Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com)
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 as
9
- * published by the Free Software Foundation.
107 */
118 #ifndef _ASM_C6X_BITOPS_H
129 #define _ASM_C6X_BITOPS_H
....@@ -54,7 +51,7 @@
5451 * This is defined the same way as ffs.
5552 * Note fls(0) = 0, fls(1) = 1, fls(0x80000000) = 32.
5653 */
57
-static inline int fls(int x)
54
+static inline int fls(unsigned int x)
5855 {
5956 if (!x)
6057 return 0;