Module Name: src Committed By: macallan Date: Sat Jun 27 07:33:51 UTC 2020
Modified Files: src/sys/arch/powerpc/include: cpu.h Log Message: apply __HIDE_DELAY so zfs and friends at least compile To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111 src/sys/arch/powerpc/include/cpu.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/powerpc/include/cpu.h diff -u src/sys/arch/powerpc/include/cpu.h:1.110 src/sys/arch/powerpc/include/cpu.h:1.111 --- src/sys/arch/powerpc/include/cpu.h:1.110 Sun Dec 1 15:34:45 2019 +++ src/sys/arch/powerpc/include/cpu.h Sat Jun 27 07:33:51 2020 @@ -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 @@ void cpu_debug_dump(void); #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)