[CRIU] [PATCH] asm: Move builtin_memcpy helper into asm/string.h

Cyrill Gorcunov gorcunov at openvz.org
Thu May 23 08:41:41 EDT 2013


There will be a couple of more builtin helpers needed
in pie code soon. Thus to unify approach do

 - rename asm/memcpy_64.h to asm/string.h

 - introduce include/asm-generic/string.h file
   where all helpers are implemented if optimized
   variant is not  yet provided

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 arch/arm/include/asm/string.h                                  |  7 +++++++
 arch/arm/restorer.c                                            |  2 +-
 arch/x86/include/asm/{memcpy_64.h => string.h}                 | 10 ++++++----
 .../include/asm/memcpy_64.h => include/asm-generic/string.h    |  9 +++++----
 pie/util-net.c                                                 |  2 +-
 5 files changed, 20 insertions(+), 10 deletions(-)
 create mode 100644 arch/arm/include/asm/string.h
 rename arch/x86/include/asm/{memcpy_64.h => string.h} (73%)
 rename arch/arm/include/asm/memcpy_64.h => include/asm-generic/string.h (65%)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-asm-Move-builtin_memcpy-helper-into-asm-string.h.patch
Type: text/x-patch
Size: 2497 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130523/bb12b741/attachment.bin>


More information about the CRIU mailing list