Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Outifdef some stuff not needed in the _KERNEL case.



details:   https://anonhg.NetBSD.org/src/rev/ee07b7e7a237
branches:  trunk
changeset: 518429:ee07b7e7a237
user:      mjl <mjl%NetBSD.org@localhost>
date:      Fri Nov 30 02:25:50 2001 +0000

description:
Outifdef some stuff not needed in the _KERNEL case.

diffstat:

 lib/libc/arch/powerpc/string/bzero.S |  5 +++--
 sys/lib/libkern/arch/powerpc/bzero.S |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r 8ed205b75541 -r ee07b7e7a237 lib/libc/arch/powerpc/string/bzero.S
--- a/lib/libc/arch/powerpc/string/bzero.S      Fri Nov 30 02:18:13 2001 +0000
+++ b/lib/libc/arch/powerpc/string/bzero.S      Fri Nov 30 02:25:50 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bzero.S,v 1.2 2001/11/29 00:20:37 mjl Exp $ */
+/*     $NetBSD: bzero.S,v 1.3 2001/11/30 02:25:50 mjl Exp $ */
 
 /*-
  * Copyright (C) 2001  Martin J. Laubach <mjl%netbsd.org@localhost>
@@ -326,9 +326,10 @@
                blr                             /* for memset functionality */
 
 /*----------------------------------------------------------------------*/
-
+#ifndef _KERNEL
                .data
 cache_size:    .long   -1
 cache_sh:      .long   0
 
+#endif
 /*----------------------------------------------------------------------*/
diff -r 8ed205b75541 -r ee07b7e7a237 sys/lib/libkern/arch/powerpc/bzero.S
--- a/sys/lib/libkern/arch/powerpc/bzero.S      Fri Nov 30 02:18:13 2001 +0000
+++ b/sys/lib/libkern/arch/powerpc/bzero.S      Fri Nov 30 02:25:50 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bzero.S,v 1.1 2001/11/29 00:27:07 mjl Exp $ */
+/*     $NetBSD: bzero.S,v 1.2 2001/11/30 02:25:50 mjl Exp $ */
 
 /*-
  * Copyright (C) 2001  Martin J. Laubach <mjl%netbsd.org@localhost>
@@ -326,9 +326,10 @@
                blr                             /* for memset functionality */
 
 /*----------------------------------------------------------------------*/
-
+#ifndef _KERNEL
                .data
 cache_size:    .long   -1
 cache_sh:      .long   0
 
+#endif
 /*----------------------------------------------------------------------*/



Home | Main Index | Thread Index | Old Index