Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/dev ifdef _KERNEL the inlines



details:   https://anonhg.NetBSD.org/src/rev/b4b7dabb6086
branches:  trunk
changeset: 765204:b4b7dabb6086
user:      christos <christos%NetBSD.org@localhost>
date:      Sat May 21 14:49:35 2011 +0000

description:
ifdef _KERNEL the inlines

diffstat:

 sys/arch/amiga/dev/grf_cvreg.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 43c9ac7d14f6 -r b4b7dabb6086 sys/arch/amiga/dev/grf_cvreg.h
--- a/sys/arch/amiga/dev/grf_cvreg.h    Sat May 21 13:23:36 2011 +0000
+++ b/sys/arch/amiga/dev/grf_cvreg.h    Sat May 21 14:49:35 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grf_cvreg.h,v 1.16 2010/02/09 18:13:10 phx Exp $       */
+/*     $NetBSD: grf_cvreg.h,v 1.17 2011/05/21 14:49:35 christos Exp $  */
 
 /*
  * Copyright (c) 1995 Michael Teske
@@ -371,7 +371,7 @@
 
 
 /* Gfx engine busy wait */
-
+#ifdef _KERNEL
 static inline void
 GfxBusyWait (ba)
        volatile void *ba;
@@ -441,5 +441,6 @@
        vgaw(ba, GCT_ADDRESS, idx);
        return vgar(ba, GCT_ADDRESS_R);
 }
+#endif
 
 #endif /* _GRF_RHREG_H */



Home | Main Index | Thread Index | Old Index