Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include apply __HIDE_DELAY so zfs and frien...



details:   https://anonhg.NetBSD.org/src/rev/6fa62ce1e73b
branches:  trunk
changeset: 973319:6fa62ce1e73b
user:      macallan <macallan%NetBSD.org@localhost>
date:      Sat Jun 27 07:33:51 2020 +0000

description:
apply __HIDE_DELAY so zfs and friends at least compile

diffstat:

 sys/arch/powerpc/include/cpu.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 0f1981120261 -r 6fa62ce1e73b sys/arch/powerpc/include/cpu.h
--- a/sys/arch/powerpc/include/cpu.h    Sat Jun 27 07:29:11 2020 +0000
+++ b/sys/arch/powerpc/include/cpu.h    Sat Jun 27 07:33:51 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.110 2019/12/01 15:34:45 ad Exp $     */
+/*     $NetBSD: cpu.h,v 1.111 2020/06/27 07:33:51 macallan Exp $       */
 
 /*
  * Copyright (C) 1999 Wolfgang Solfrank.
@@ -416,8 +416,10 @@
 
 #define        cpu_proc_fork(p1, p2)
 
+#ifndef __HIDE_DELAY
 #define        DELAY(n)                delay(n)
 void   delay(unsigned int);
+#endif /* __HIDE_DELAY */
 
 #define        CLKF_USERMODE(cf)       cpu_clkf_usermode(cf)
 #define        CLKF_PC(cf)             cpu_clkf_pc(cf)



Home | Main Index | Thread Index | Old Index