base & arm: Fix unecessary assertion in memcpy_cpu

Fix #529
This commit is contained in:
Martin Stein 2012-11-28 11:38:52 +01:00 committed by Norman Feske
parent fa2cbdc7cb
commit 46a6cb680a

View File

@ -35,7 +35,7 @@ namespace Genode
size_t s_align = (size_t)s & 0x3; size_t s_align = (size_t)s & 0x3;
/* at least 32 bytes, 4 byte aligned, same alignment */ /* at least 32 bytes, 4 byte aligned, same alignment */
if (size < 32 || (d_align | s_align) || (d_align ^ s_align)) if (size < 32 || (d_align ^ s_align))
return size; return size;
/* copy to 4 byte alignment */ /* copy to 4 byte alignment */