diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2013-02-22 08:58:21 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-02-22 12:14:55 +0000 |
commit | 7a016c8427353f9876560d7e01ea16f7a42d7fcb (patch) | |
tree | 166bbc63f114b7f68f4701b1e56536aa2876ab45 /xen/include/asm-arm/string.h | |
parent | 2676f564d3aafb1856ac264cc5a7e5a1b255e70b (diff) | |
download | xen-7a016c8427353f9876560d7e01ea16f7a42d7fcb.tar.gz xen-7a016c8427353f9876560d7e01ea16f7a42d7fcb.tar.bz2 xen-7a016c8427353f9876560d7e01ea16f7a42d7fcb.zip |
xen: arm: Use generic mem{cpy, move, set, zero} on 64-bit
No optimised versions are available in Linux yet (meaning I couldn't
copy them).
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Diffstat (limited to 'xen/include/asm-arm/string.h')
-rw-r--r-- | xen/include/asm-arm/string.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/asm-arm/string.h b/xen/include/asm-arm/string.h index 9cd4dd7321..abfa9d20af 100644 --- a/xen/include/asm-arm/string.h +++ b/xen/include/asm-arm/string.h @@ -3,6 +3,7 @@ #include <xen/config.h> +#if defined(CONFIG_ARM_32) #define __HAVE_ARCH_MEMCPY extern void * memcpy(void *, const void *, __kernel_size_t); @@ -27,6 +28,8 @@ extern void __memzero(void *ptr, __kernel_size_t n); (__p); \ }) +#endif + #endif /* __ARM_STRING_H__ */ /* * Local variables: |