mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +00:00
This patch moves the files arch/$ARCH/include/asm/int.h to
include/asm-generic/int.h and makes the types {u,s}{8,16,32}
be aliases of the fixed sized integer types [u]int{8,16,32}_t.
This makes it possible to use single set of integer typedefs
in all architectural ports.
Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com>
Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
15 lines
264 B
C
15 lines
264 B
C
#ifndef __CR_INT_H__
|
|
#define __CR_INT_H__
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef uint64_t u64;
|
|
typedef int64_t s64;
|
|
typedef uint32_t u32;
|
|
typedef int32_t s32;
|
|
typedef uint16_t u16;
|
|
typedef int16_t s16;
|
|
typedef uint8_t u8;
|
|
typedef int8_t s8;
|
|
|
|
#endif /* __CR_INT_H__ */
|