[CRIU] [PATCH 0/2] Remove PAGE_SIZE code duplication

Pavel Emelyanov xemul at parallels.com
Fri Feb 21 04:29:50 PST 2014


On 02/20/2014 06:33 PM, Cyrill Gorcunov wrote:
> 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
> 


applied


More information about the CRIU mailing list