From 7cbfd90890c80287220dbd40a60897c42033343d Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Fri, 15 Dec 2006 14:13:51 -0800 Subject: [PATCH] --- yaml --- r: 44616 b: refs/heads/master c: 0221872a3b0aa2fa2f3fa60affcbaebd662c4a90 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/workqueue.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 17d1ad83b8ac..3f235ca74313 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 701dfbe71903413d10caf2790259bccbabbedcf5 +refs/heads/master: 0221872a3b0aa2fa2f3fa60affcbaebd662c4a90 diff --git a/trunk/include/linux/workqueue.h b/trunk/include/linux/workqueue.h index edef8d50b26b..5b13dcf02714 100644 --- a/trunk/include/linux/workqueue.h +++ b/trunk/include/linux/workqueue.h @@ -121,8 +121,8 @@ struct execute_work { * pending * @work: The work item in question */ -#define delayed_work_pending(work) \ - test_bit(WORK_STRUCT_PENDING, &(work)->work.management) +#define delayed_work_pending(w) \ + work_pending(&(w)->work) /** * work_release - Release a work item under execution