Commit 2738fae8 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

types: Add PAGE_MASK

Will need it for pipes data dumping.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 6835e2ad
......@@ -186,6 +186,10 @@ typedef struct {
# define PAGE_SIZE 4096
#endif
#ifndef PAGE_MASK
# define PAGE_MASK (~(PAGE_SIZE - 1))
#endif
/* For sys_kcmp */
enum kcmp_type {
KCMP_FILE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment