[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3 08/14] xen/asm-generic: introduce generic div64.h header
Hi, On 17/11/2023 12:24, Oleksii Kurochko wrote: All archs have the do_div implementation for BITS_PER_LONG == 64 so do_div64.h is moved to asm-generic. You are saying "all archs" but ... x86 and PPC were switched to asm-generic version of div64.h. ... you only switch x86/PPC to div64.h.I guess this is because for arm we have a different implementation for 32-bits. The 64-bits version is the same as x86/PPC. So I wonder if it is possible to include asm-generic/div64.h from arch/arm/include/asm/div64.h? This will avoid duplicating some code. Cheers, -- Julien Grall
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |