Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/powerpc/gen * Add getcachelinesize() prototype.



details:   https://anonhg.NetBSD.org/src/rev/bd29f91c5fce
branches:  trunk
changeset: 472712:bd29f91c5fce
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Wed May 05 12:35:54 1999 +0000

description:
* Add getcachelinesize() prototype.
* Make this compile with -D_STANDALONE.

diffstat:

 lib/libc/arch/powerpc/gen/syncicache.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 0d25846011b4 -r bd29f91c5fce lib/libc/arch/powerpc/gen/syncicache.c
--- a/lib/libc/arch/powerpc/gen/syncicache.c    Wed May 05 11:20:54 1999 +0000
+++ b/lib/libc/arch/powerpc/gen/syncicache.c    Wed May 05 12:35:54 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syncicache.c,v 1.1 1999/04/17 21:16:45 ws Exp $        */
+/*     $NetBSD: syncicache.c,v 1.2 1999/05/05 12:35:54 tsubai Exp $    */
 
 /*
  * Copyright (C) 1995-1997, 1999 Wolfgang Solfrank.
@@ -32,6 +32,7 @@
  */
 #include <sys/param.h>
 #if    defined(_KERNEL) || defined(_STANDALONE)
+#include <sys/time.h>
 #include <sys/proc.h>
 #include <vm/vm.h>
 #endif
@@ -44,6 +45,8 @@
 #error "Must know the size of a cache line"
 #endif
 #else
+static void getcachelinesize __P((void));
+
 static int _cachelinesize;
 #define        CACHELINESIZE   _cachelinesize
 



Home | Main Index | Thread Index | Old Index