criu/compel/include/uapi/compel.h
Cyrill Gorcunov 1f560c5f0c compel: Get rid of old piegen code
Use new compel.h header with appropriate types.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2017-03-14 23:58:10 +03:00

17 lines
315 B
C

#ifndef UAPI_COMPEL_H__
#define UAPI_COMPEL_H__
#include <errno.h>
#define COMPEL_TYPE_INT (1u << 0)
#define COMPEL_TYPE_LONG (1u << 1)
#define COMPEL_TYPE_GOTPCREL (1u << 2)
typedef struct {
unsigned int offset;
unsigned int type;
long addend;
long value;
} compel_reloc_t;
#endif /* UAPI_COMPEL_H__ */