|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v5 04/23] xen/asm-generic: introduce generic fls() and flsl() functions
Hi Oleksii, On 26/02/2024 17:38, Oleksii Kurochko wrote: One header per function seems a little bit excessive to me. Do you have any pointer where this request is coming from? Why not using the pattern. In arch implementation: #define fls static inline ... In the generic header (asm-generic or xen/): #ifndef fls static inline ... #endif 2 files changed, 28 insertions(+) create mode 100644 xen/include/asm-generic/bitops/fls.h create mode 100644 xen/include/asm-generic/bitops/flsl.h diff --git a/xen/include/asm-generic/bitops/fls.h b/xen/include/asm-generic/bitops/fls.h new file mode 100644 index 0000000000..369a4c790c --- /dev/null +++ b/xen/include/asm-generic/bitops/fls.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0 */ You should use GPL-2.0-only. Missing emacs magic. I am probably not going to repeat this remark and the one above again. So please have a look. Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |