From 6778948f9de86c3cfaf36725a7c87dcff9ba247f Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 11 Dec 2023 08:20:59 +0000
Subject: [PATCH] kernel_5.10 no rt
---
kernel/arch/openrisc/include/asm/bitops/fls.h | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/kernel/arch/openrisc/include/asm/bitops/fls.h b/kernel/arch/openrisc/include/asm/bitops/fls.h
index 9efbf9a..6b77f65 100644
--- a/kernel/arch/openrisc/include/asm/bitops/fls.h
+++ b/kernel/arch/openrisc/include/asm/bitops/fls.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* OpenRISC Linux
*
* Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
*/
#ifndef __ASM_OPENRISC_FLS_H
@@ -15,7 +11,7 @@
#ifdef CONFIG_OPENRISC_HAVE_INST_FL1
-static inline int fls(int x)
+static inline int fls(unsigned int x)
{
int ret;
--
Gitblit v1.6.2