summaryrefslogtreecommitdiffstats
path: root/kernel/arch/nios2/lib
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/nios2/lib')
-rw-r--r--kernel/arch/nios2/lib/memmove.c2
-rw-r--r--kernel/arch/nios2/lib/memset.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/kernel/arch/nios2/lib/memmove.c b/kernel/arch/nios2/lib/memmove.c
index c65ef517e..866c021f2 100644
--- a/kernel/arch/nios2/lib/memmove.c
+++ b/kernel/arch/nios2/lib/memmove.c
@@ -10,7 +10,6 @@
#include <linux/types.h>
#include <linux/string.h>
-#ifdef __HAVE_ARCH_MEMMOVE
void *memmove(void *d, const void *s, size_t count)
{
unsigned long dst, src;
@@ -79,4 +78,3 @@ restdown:
return d;
}
-#endif /* __HAVE_ARCH_MEMMOVE */
diff --git a/kernel/arch/nios2/lib/memset.c b/kernel/arch/nios2/lib/memset.c
index 65e97802f..c2cfcb121 100644
--- a/kernel/arch/nios2/lib/memset.c
+++ b/kernel/arch/nios2/lib/memset.c
@@ -10,7 +10,6 @@
#include <linux/types.h>
#include <linux/string.h>
-#ifdef __HAVE_ARCH_MEMSET
void *memset(void *s, int c, size_t count)
{
int destptr, charcnt, dwordcnt, fill8reg, wrkrega;
@@ -78,4 +77,3 @@ void *memset(void *s, int c, size_t count)
return s;
}
-#endif /* __HAVE_ARCH_MEMSET */