From: Hauke Mehrtens Date: Tue, 1 Feb 2011 21:04:12 +0000 (+0100) Subject: compat: backport alloc_ordered_workqueue X-Git-Tag: v2.6.39-rc1-1~7 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=476130cf845cd49a19c9bbd1972154636858ab96;p=~tnikolova%2Fcompat%2F.git compat: backport alloc_ordered_workqueue This was moved from a patch in compat-wireless to this place. Signed-off-by: Hauke Mehrtens --- diff --git a/include/linux/compat-2.6.37.h b/include/linux/compat-2.6.37.h index 502d2b1..e993f75 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 */