summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/include/asm/string.h')
-rw-r--r--arch/microblaze/include/asm/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/string.h b/arch/microblaze/include/asm/string.h
index f7728c90fc1..aec2f59298b 100644
--- a/arch/microblaze/include/asm/string.h
+++ b/arch/microblaze/include/asm/string.h
@@ -9,7 +9,7 @@
#ifndef _ASM_MICROBLAZE_STRING_H
#define _ASM_MICROBLAZE_STRING_H
-#ifndef __KERNEL__
+#ifdef __KERNEL__
#define __HAVE_ARCH_MEMSET
#define __HAVE_ARCH_MEMCPY