diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2009-05-07 12:36:53 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-05-28 14:24:07 -0700 |
commit | 086a377edc969aea6c761176a7e4ff68f264d6fe (patch) | |
tree | 81cd6a34fb12a3cfa00228bd5508b49bdbfc2c03 /fs | |
parent | b5c42bc8db17db80917f99205a03c51f17354495 (diff) | |
download | kernel_samsung_espresso10-086a377edc969aea6c761176a7e4ff68f264d6fe.zip kernel_samsung_espresso10-086a377edc969aea6c761176a7e4ff68f264d6fe.tar.gz kernel_samsung_espresso10-086a377edc969aea6c761176a7e4ff68f264d6fe.tar.bz2 |
sysfs: file.c: use create_singlethread_workqueue()
We don't need a kernel thread per CPU for this application.
Acked-by: Alex Chiang <achiang@hp.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/sysfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c index b1606e0..561a9c0 100644 --- a/fs/sysfs/file.c +++ b/fs/sysfs/file.c @@ -723,7 +723,7 @@ int sysfs_schedule_callback(struct kobject *kobj, void (*func)(void *), mutex_unlock(&sysfs_workq_mutex); if (sysfs_workqueue == NULL) { - sysfs_workqueue = create_workqueue("sysfsd"); + sysfs_workqueue = create_singlethread_workqueue("sysfsd"); if (sysfs_workqueue == NULL) { module_put(owner); return -ENOMEM; |