[PATCH 3/3] workqueues: s/2/WORK_STRUCT_STATIC/ inWORK_DATA_STATIC_INIT()

From: Oleg Nesterov
Date: Wed Feb 24 2010 - 15:22:28 EST


Cosmetic. Don't hide WORK_STRUCT_STATIC from grep.

Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>
---

include/linux/workqueue.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- wq/include/linux/workqueue.h~3_STATIC_INIT_USE_STATIC 2010-02-24 20:33:43.000000000 +0100
+++ wq/include/linux/workqueue.h 2010-02-24 21:01:20.000000000 +0100
@@ -36,7 +36,7 @@ struct work_struct {
};

#define WORK_DATA_INIT() ATOMIC_LONG_INIT(0)
-#define WORK_DATA_STATIC_INIT() ATOMIC_LONG_INIT(2)
+#define WORK_DATA_STATIC_INIT() ATOMIC_LONG_INIT(1UL << WORK_STRUCT_STATIC)

struct delayed_work {
struct work_struct work;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/