diff options
author | kmacy <kmacy@FreeBSD.org> | 2008-08-20 02:42:08 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2008-08-20 02:42:08 +0000 |
commit | b1f7c9438e991443a8401dde292a156179cce253 (patch) | |
tree | 36f42b18df70566f008c69a0814f94f7923c0405 /sys/xen/xenbus/xenbus_probe_backend.c | |
parent | 03a5241ea0a9d2648fc3b74a2062c7c06a155381 (diff) | |
download | FreeBSD-src-b1f7c9438e991443a8401dde292a156179cce253.zip FreeBSD-src-b1f7c9438e991443a8401dde292a156179cce253.tar.gz |
Xen 3.2 now interleaves watch events with regular message notifications.
More graciously handle processing messages and watch events inline prior
to threads being up and running.
MFC after: 1 month
Diffstat (limited to 'sys/xen/xenbus/xenbus_probe_backend.c')
-rw-r--r-- | sys/xen/xenbus/xenbus_probe_backend.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/xen/xenbus/xenbus_probe_backend.c b/sys/xen/xenbus/xenbus_probe_backend.c index 8ef66ce..3cb8e67 100644 --- a/sys/xen/xenbus/xenbus_probe_backend.c +++ b/sys/xen/xenbus/xenbus_probe_backend.c @@ -67,8 +67,6 @@ __FBSDID("$FreeBSD$"); #define BUG_ON PANIC_IF #define semaphore sema #define rw_semaphore sema -#define spin_lock mtx_lock -#define spin_unlock mtx_unlock #define DEFINE_SPINLOCK(lock) struct mtx lock #define DECLARE_MUTEX(lock) struct sema lock #define u32 uint32_t @@ -76,7 +74,6 @@ __FBSDID("$FreeBSD$"); #define simple_strtoul strtoul #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) #define list_empty TAILQ_EMPTY -#define wake_up wakeup extern struct xendev_list_head xenbus_device_backend_list; #if 0 |