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/linux Hazard a guess about a r...
details: https://anonhg.NetBSD.org/src/rev/f9a7ecd63e64
branches: trunk
changeset: 992783:f9a7ecd63e64
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 07:47:11 2018 +0000
description:
Hazard a guess about a reliable MAX_SCHEDULE_TIMEOUT.
diffstat:
sys/external/bsd/drm2/include/linux/sched.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 1f0d518febdf -r f9a7ecd63e64 sys/external/bsd/drm2/include/linux/sched.h
--- a/sys/external/bsd/drm2/include/linux/sched.h Mon Aug 27 07:47:01 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/sched.h Mon Aug 27 07:47:11 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sched.h,v 1.9 2018/08/27 07:29:09 riastradh Exp $ */
+/* $NetBSD: sched.h,v 1.10 2018/08/27 07:47:11 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -43,6 +43,8 @@
#define TASK_COMM_LEN MAXCOMLEN
+#define MAX_SCHEDULE_TIMEOUT (INT_MAX/2) /* paranoia */
+
#define current curproc
static inline pid_t
Home |
Main Index |
Thread Index |
Old Index