Message ID | 20201209155452.28376-2-olaf@aepfle.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v1,1/3] tools: allocate bitmaps in units of unsigned long | expand |
On Wed, Dec 09, 2020 at 04:54:50PM +0100, Olaf Hering wrote: > There are no users left, xenpaging has its own variant. > The last user was removed with commit 11d0044a168994de85b9b328452292852aedc871 > > Signed-off-by: Olaf Hering <olaf@aepfle.de> Acked-by: Wei Liu <wl@xen.org>
diff --git a/tools/libs/ctrl/xc_bitops.h b/tools/libs/ctrl/xc_bitops.h index d6c5ea5138..f0bac4a071 100644 --- a/tools/libs/ctrl/xc_bitops.h +++ b/tools/libs/ctrl/xc_bitops.h @@ -6,9 +6,7 @@ #include <stdlib.h> #include <string.h> -/* Needed by several includees, but no longer used for bitops. */ #define BITS_PER_LONG (sizeof(unsigned long) * 8) -#define ORDER_LONG (sizeof(unsigned long) == 4 ? 5 : 6) #define BITMAP_ENTRY(_nr,_bmap) ((_bmap))[(_nr) / 8] #define BITMAP_SHIFT(_nr) ((_nr) % 8)
There are no users left, xenpaging has its own variant. The last user was removed with commit 11d0044a168994de85b9b328452292852aedc871 Signed-off-by: Olaf Hering <olaf@aepfle.de> --- tools/libs/ctrl/xc_bitops.h | 2 -- 1 file changed, 2 deletions(-)