The patch titled
workstruct: use bitops-safe direct assignment
has been removed from the -mm tree. Its filename was
workstruct-use-bitops-safe-direct-assignment.patch
This patch was dropped because it is obsolete
------------------------------------------------------
Subject: workstruct: use bitops-safe direct assignment
From: David Howells <[EMAIL PROTECTED]>
Replace the direct assignment in set_wq_data() with a bitops-proofed
wrapper (assign_bits()). This defends against the test_and_set_bit() used
to mark a work item active.
Signed-off-by: David Howells <[EMAIL PROTECTED]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
kernel/workqueue.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN kernel/workqueue.c~workstruct-use-bitops-safe-direct-assignment
kernel/workqueue.c
--- a/kernel/workqueue.c~workstruct-use-bitops-safe-direct-assignment
+++ a/kernel/workqueue.c
@@ -97,7 +97,7 @@ static inline void set_wq_data(struct wo
new = (unsigned long) wq | (1UL << WORK_STRUCT_PENDING);
new |= work->management & WORK_STRUCT_FLAG_MASK;
- work->management = new;
+ assign_bits(new, &work->management);
}
static inline void *get_wq_data(struct work_struct *work)
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
origin.patch
infiniband-work-around-gcc-bug-on-sparc64.patch
workstruct-use-bitops-safe-direct-assignment.patch
git-alsa.patch
nfs-represent-64-bit-fileids-as-64-bit-inode-numbers-on-32-bit-systems.patch
git-cryptodev.patch
doc-atomic_add_unless-doesnt-imply-mb-on-failure.patch
ecryptfs-public-key-transport-mechanism.patch
ecryptfs-public-key-packet-management.patch
workstruct-implement-generic-up-cmpxchg-where-an-arch-doesnt-support-it.patch
workqueue-dont-hold-workqueue_mutex-in-flush_scheduled_work.patch
reiser4-get_sb_dev-fix.patch
mutex-subsystem-synchro-test-module.patch
-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html