forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 a36159eec6ca17402b0e146b86efaf76568dc353
kernel/arch/openrisc/include/asm/bitops/fls.h
....@@ -1,12 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * OpenRISC Linux
34 *
45 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
106 */
117
128 #ifndef __ASM_OPENRISC_FLS_H
....@@ -15,7 +11,7 @@
1511
1612 #ifdef CONFIG_OPENRISC_HAVE_INST_FL1
1713
18
-static inline int fls(int x)
14
+static inline int fls(unsigned int x)
1915 {
2016 int ret;
2117