Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/include/linux Add stubs for f...
details: https://anonhg.NetBSD.org/src/rev/9e01eb0d1229
branches: riastradh-drm2
changeset: 788398:9e01eb0d1229
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 03:37:04 2013 +0000
description:
Add stubs for flush_workqueue and flush_scheduled_work that warn.
diffstat:
sys/external/bsd/drm2/include/linux/workqueue.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 29ca7e0de190 -r 9e01eb0d1229 sys/external/bsd/drm2/include/linux/workqueue.h
--- a/sys/external/bsd/drm2/include/linux/workqueue.h Wed Jul 24 03:36:48 2013 +0000
+++ b/sys/external/bsd/drm2/include/linux/workqueue.h Wed Jul 24 03:37:04 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: workqueue.h,v 1.1.2.5 2013/07/24 03:04:04 riastradh Exp $ */
+/* $NetBSD: workqueue.h,v 1.1.2.6 2013/07/24 03:37:04 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -34,6 +34,7 @@
#include <sys/callout.h>
+#include <asm/bug.h>
#include <linux/kernel.h>
/*
@@ -114,6 +115,9 @@
{
}
+#define flush_workqueue(wq) WARN(true, "Can't flush workqueues!");
+#define flush_scheduled_work(wq) WARN(true, "Can't flush workqueues!");
+
static inline void
queue_work(struct workqueue_struct *wq __unused, struct work_struct *work)
{
Home |
Main Index |
Thread Index |
Old Index