[CRIU] [PATCH 0/2] Remove PAGE_SIZE code duplication
Cyrill Gorcunov
gorcunov at openvz.org
Thu Feb 20 06:33:14 PST 2014
While been working on different task I noticed that the PAGE_SIZE
and friends are duplicated over x86/arm code, so get rid of it and
move to one place.
Cyrill Gorcunov (2):
asm-generic: Introduce page.h
pagemap-cache: Use page.h helpers
arch/arm/include/asm/types.h | 9 +--------
arch/x86/include/asm/types.h | 9 +--------
include/asm-generic/page.h | 22 ++++++++++++++++++++++
include/pagemap-cache.h | 6 +++---
mem.c | 2 +-
pagemap-cache.c | 4 ++--
6 files changed, 30 insertions(+), 22 deletions(-)
create mode 100644 include/asm-generic/page.h
--
1.8.3.1
More information about the CRIU
mailing list