|
@@ -23,7 +23,7 @@
|
|
#include "memcopy.h"
|
|
#include "memcopy.h"
|
|
#include "pagecopy.h"
|
|
#include "pagecopy.h"
|
|
|
|
|
|
-#ifdef __ARCH_HAS_BWD_MEMCPY__
|
|
+#ifndef __ARCH_HAS_BWD_MEMCPY__
|
|
|
|
|
|
#include "_memcpy_fwd.c"
|
|
#include "_memcpy_fwd.c"
|
|
#endif
|
|
#endif
|
|
@@ -224,8 +224,8 @@ void *memmove (void *dest, const void *src, size_t len)
|
|
Reduces the working set. */
|
|
Reduces the working set. */
|
|
if (dstp - srcp >= len)
|
|
if (dstp - srcp >= len)
|
|
{
|
|
{
|
|
-#ifndef __ARCH_HAS_BWD_MEMCPY__
|
|
+#ifdef __ARCH_HAS_BWD_MEMCPY__
|
|
-
|
|
+
|
|
memcpy(dest, src, len);
|
|
memcpy(dest, src, len);
|
|
#else
|
|
#else
|
|
|
|
|