Commit b78c1e9a authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Andrei Vagin

criu: Remove PAGE_IMAGE_SIZE

It's unused since commit fd3f33f5 ("headers: image.h -- Drop unused
entries"), so let's remove it completely.
Signed-off-by: 's avatarDmitry Safonov <dima@arista.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 202b7745
...@@ -316,7 +316,6 @@ int main(int argc, char *argv[], char *envp[]) ...@@ -316,7 +316,6 @@ int main(int argc, char *argv[], char *envp[])
#undef BOOL_OPT #undef BOOL_OPT
BUILD_BUG_ON(PAGE_SIZE != PAGE_IMAGE_SIZE);
BUILD_BUG_ON(CTL_32 != SYSCTL_TYPE__CTL_32); BUILD_BUG_ON(CTL_32 != SYSCTL_TYPE__CTL_32);
BUILD_BUG_ON(__CTL_STR != SYSCTL_TYPE__CTL_STR); BUILD_BUG_ON(__CTL_STR != SYSCTL_TYPE__CTL_STR);
/* We use it for fd overlap handling in clone_service_fd() */ /* We use it for fd overlap handling in clone_service_fd() */
......
...@@ -12,11 +12,6 @@ ...@@ -12,11 +12,6 @@
#include "log.h" #include "log.h"
#include "common/bug.h" #include "common/bug.h"
#ifdef _ARCH_PPC64
#define PAGE_IMAGE_SIZE 65536
#else
#define PAGE_IMAGE_SIZE 4096
#endif /* _ARCH_PPC64 */
#define PAGE_RSS 1 #define PAGE_RSS 1
#define PAGE_ANON 2 #define PAGE_ANON 2
......
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