diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-15 11:22:16 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-15 11:22:16 -0400 |
| commit | b5869ce7f68b233ceb81465a7644be0d9a5f3dbb (patch) | |
| tree | e3611e7f038a4a4fa813532ae57a9a626fa1434d /kernel/ksysfs.c | |
| parent | df3d80f5a5c74168be42788364d13cf6c83c7b9c (diff) | |
| parent | 9c63d9c021f375a2708ad79043d6f4dd1291a085 (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched
* git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched: (140 commits)
sched: sync wakeups preempt too
sched: affine sync wakeups
sched: guest CPU accounting: maintain guest state in KVM
sched: guest CPU accounting: maintain stats in account_system_time()
sched: guest CPU accounting: add guest-CPU /proc/<pid>/stat fields
sched: guest CPU accounting: add guest-CPU /proc/stat field
sched: domain sysctl fixes: add terminator comment
sched: domain sysctl fixes: do not crash on allocation failure
sched: domain sysctl fixes: unregister the sysctl table before domains
sched: domain sysctl fixes: use for_each_online_cpu()
sched: domain sysctl fixes: use kcalloc()
Make scheduler debug file operations const
sched: enable wake-idle on CONFIG_SCHED_MC=y
sched: reintroduce topology.h tunings
sched: allow the immediate migration of cache-cold tasks
sched: debug, improve migration statistics
sched: debug: increase width of debug line
sched: activate task_hot() only on fair-scheduled tasks
sched: reintroduce cache-hot affinity
sched: speed up context-switches a bit
...
Diffstat (limited to 'kernel/ksysfs.c')
| -rw-r--r-- | kernel/ksysfs.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/ksysfs.c b/kernel/ksysfs.c index d0e5c48e18c7..6046939d0804 100644 --- a/kernel/ksysfs.c +++ b/kernel/ksysfs.c | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | #include <linux/module.h> | 14 | #include <linux/module.h> |
| 15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
| 16 | #include <linux/kexec.h> | 16 | #include <linux/kexec.h> |
| 17 | #include <linux/sched.h> | ||
| 17 | 18 | ||
| 18 | #define KERNEL_ATTR_RO(_name) \ | 19 | #define KERNEL_ATTR_RO(_name) \ |
| 19 | static struct subsys_attribute _name##_attr = __ATTR_RO(_name) | 20 | static struct subsys_attribute _name##_attr = __ATTR_RO(_name) |
| @@ -116,6 +117,13 @@ static int __init ksysfs_init(void) | |||
| 116 | ¬es_attr); | 117 | ¬es_attr); |
| 117 | } | 118 | } |
| 118 | 119 | ||
| 120 | /* | ||
| 121 | * Create "/sys/kernel/uids" directory and corresponding root user's | ||
| 122 | * directory under it. | ||
| 123 | */ | ||
| 124 | if (!error) | ||
| 125 | error = uids_kobject_init(); | ||
| 126 | |||
| 119 | return error; | 127 | return error; |
| 120 | } | 128 | } |
| 121 | 129 | ||
