From 476130cf845cd49a19c9bbd1972154636858ab96 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Tue, 1 Feb 2011 22:04:12 +0100 Subject: [PATCH] compat: backport alloc_ordered_workqueue This was moved from a patch in compat-wireless to this place. Signed-off-by: Hauke Mehrtens --- include/linux/compat-2.6.37.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/compat-2.6.37.h b/include/linux/compat-2.6.37.h index 502d2b198340..e993f753febb 100644 --- a/include/linux/compat-2.6.37.h +++ b/include/linux/compat-2.6.37.h @@ -106,6 +106,8 @@ extern void compat_led_classdev_unregister(struct led_classdev *led_cdev); extern void compat_led_brightness_set(struct led_classdev *led_cdev, enum led_brightness brightness); +#define alloc_ordered_workqueue(name, flags) create_singlethread_workqueue(name) + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)) */ #endif /* LINUX_26_37_COMPAT_H */ -- 2.30.2