Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/include drm: sys/param.h, not machine/...



details:   https://anonhg.NetBSD.org/src/rev/b190b52a334f
branches:  trunk
changeset: 379426:b190b52a334f
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon May 31 10:33:04 2021 +0000

description:
drm: sys/param.h, not machine/param.h, for DELAY.

diffstat:

 sys/external/bsd/drm2/include/asm/processor.h |  4 ++--
 sys/external/bsd/drm2/include/linux/delay.h   |  4 +---
 2 files changed, 3 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r 79319db0a04e -r b190b52a334f sys/external/bsd/drm2/include/asm/processor.h
--- a/sys/external/bsd/drm2/include/asm/processor.h     Mon May 31 07:59:02 2021 +0000
+++ b/sys/external/bsd/drm2/include/asm/processor.h     Mon May 31 10:33:04 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: processor.h,v 1.3 2014/09/17 15:46:57 riastradh Exp $  */
+/*     $NetBSD: processor.h,v 1.4 2021/05/31 10:33:04 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 #ifndef _ASM_PROCESSOR_H_
 #define _ASM_PROCESSOR_H_
 
-#include <machine/param.h>
+#include <sys/param.h>
 
 #define        cpu_relax()     DELAY(1)        /* XXX */
 
diff -r 79319db0a04e -r b190b52a334f sys/external/bsd/drm2/include/linux/delay.h
--- a/sys/external/bsd/drm2/include/linux/delay.h       Mon May 31 07:59:02 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/delay.h       Mon May 31 10:33:04 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: delay.h,v 1.6 2020/02/14 09:35:40 riastradh Exp $      */
+/*     $NetBSD: delay.h,v 1.7 2021/05/31 10:33:04 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -36,8 +36,6 @@
 #include <sys/kernel.h>
 #include <sys/proc.h>
 
-#include <machine/param.h>
-
 #define        MAX_UDELAY_MS   5
 
 static inline void



Home | Main Index | Thread Index | Old Index