criu/include/bitmap.h
Cyrill Gorcunov ba475b8dcf bitmap -- Add few helpers for bits manipulations
Grabbed from kernel. Probably worth to gather
all bits manipulators here in future.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2015-11-12 11:15:02 +03:00

7 lines
207 B
C

#ifndef __CR_BITMAP_H__
#define __CR_BITMAP_H__
extern void bitmap_set(unsigned long *map, int start, int nr);
extern void bitmap_clear(unsigned long *map, int start, int nr);
#endif /* __CR_BITMAP_H__ */