Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/include Respect the __HIDE_DELAY kludge lik...



details:   https://anonhg.NetBSD.org/src/rev/158eb9fe6415
branches:  trunk
changeset: 445854:158eb9fe6415
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Nov 15 04:56:52 2018 +0000

description:
Respect the __HIDE_DELAY kludge like on other ports.

diffstat:

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

diffs (21 lines):

diff -r c7aa137de6c7 -r 158eb9fe6415 sys/arch/aarch64/include/param.h
--- a/sys/arch/aarch64/include/param.h  Thu Nov 15 04:55:49 2018 +0000
+++ b/sys/arch/aarch64/include/param.h  Thu Nov 15 04:56:52 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.5 2018/11/14 20:03:28 jakllsch Exp $ */
+/* $NetBSD: param.h,v 1.6 2018/11/15 04:56:52 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -131,9 +131,11 @@
 #endif
 
 #ifdef _KERNEL
+#ifndef __HIDE_DELAY
 void delay(unsigned int);
 #define        DELAY(x)        delay(x)
 #endif
+#endif
 /*
  * Compatibility /dev/zero mapping.
  */



Home | Main Index | Thread Index | Old Index