diff options
author | Andrew Morton <[email protected]> | 2009-05-07 12:36:53 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2009-05-28 14:24:07 -0700 |
commit | 086a377edc969aea6c761176a7e4ff68f264d6fe (patch) | |
tree | 81cd6a34fb12a3cfa00228bd5508b49bdbfc2c03 | |
parent | b5c42bc8db17db80917f99205a03c51f17354495 (diff) |
sysfs: file.c: use create_singlethread_workqueue()
We don't need a kernel thread per CPU for this application.
Acked-by: Alex Chiang <[email protected]>
Cc: Lai Jiangshan <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-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 b1606e07b7a3..561a9c050cef 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; |