Module Name: src
Committed By: pooka
Date: Thu May 22 16:47:31 UTC 2014
Modified Files:
src/common/lib/libc/arch/x86_64/string: memset.S
Log Message:
fix build for _KERNEL
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/common/lib/libc/arch/x86_64/string/memset.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/common/lib/libc/arch/x86_64/string/memset.S
diff -u src/common/lib/libc/arch/x86_64/string/memset.S:1.4 src/common/lib/libc/arch/x86_64/string/memset.S:1.5
--- src/common/lib/libc/arch/x86_64/string/memset.S:1.4 Thu May 22 15:23:11 2014
+++ src/common/lib/libc/arch/x86_64/string/memset.S Thu May 22 16:47:31 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: memset.S,v 1.4 2014/05/22 15:23:11 uebayasi Exp $ */
+/* $NetBSD: memset.S,v 1.5 2014/05/22 16:47:31 pooka Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
- RCSID("$NetBSD: memset.S,v 1.4 2014/05/22 15:23:11 uebayasi Exp $")
+ RCSID("$NetBSD: memset.S,v 1.5 2014/05/22 16:47:31 pooka Exp $")
#endif
#ifndef _KERNEL
@@ -90,4 +90,7 @@ ENTRY(memset)
add %rdx,%rdi /* ... and target */
jmp 2b
END(memset)
+
+#ifndef _KERNEL
END(bzero)
+#endif