diff options
| author | Ingo Molnar <mingo@kernel.org> | 2014-05-07 07:15:46 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2014-05-07 07:15:46 -0400 |
| commit | 2fe5de9ce7d57498abc14b375cad2fcf8c3ee6cc (patch) | |
| tree | 9478e8cf470c1d5bdb2d89b57a7e35919ab95e72 /include/linux/sysfs.h | |
| parent | 08f8aeb55d7727d644dbbbbfb798fe937d47751d (diff) | |
| parent | 2b4cfe64dee0d84506b951d81bf55d9891744d25 (diff) | |
Merge branch 'sched/urgent' into sched/core, to avoid conflicts
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/sysfs.h')
| -rw-r--r-- | include/linux/sysfs.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index e0bf210ddffd..5ffaa3443712 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h | |||
| @@ -71,7 +71,8 @@ struct attribute_group { | |||
| 71 | */ | 71 | */ |
| 72 | 72 | ||
| 73 | #define __ATTR(_name, _mode, _show, _store) { \ | 73 | #define __ATTR(_name, _mode, _show, _store) { \ |
| 74 | .attr = {.name = __stringify(_name), .mode = _mode }, \ | 74 | .attr = {.name = __stringify(_name), \ |
| 75 | .mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \ | ||
| 75 | .show = _show, \ | 76 | .show = _show, \ |
| 76 | .store = _store, \ | 77 | .store = _store, \ |
| 77 | } | 78 | } |
| @@ -178,9 +179,6 @@ struct sysfs_ops { | |||
| 178 | 179 | ||
| 179 | #ifdef CONFIG_SYSFS | 180 | #ifdef CONFIG_SYSFS |
| 180 | 181 | ||
| 181 | int sysfs_schedule_callback(struct kobject *kobj, void (*func)(void *), | ||
| 182 | void *data, struct module *owner); | ||
| 183 | |||
| 184 | int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns); | 182 | int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns); |
| 185 | void sysfs_remove_dir(struct kobject *kobj); | 183 | void sysfs_remove_dir(struct kobject *kobj); |
| 186 | int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, | 184 | int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, |
| @@ -254,12 +252,6 @@ static inline void sysfs_enable_ns(struct kernfs_node *kn) | |||
| 254 | 252 | ||
| 255 | #else /* CONFIG_SYSFS */ | 253 | #else /* CONFIG_SYSFS */ |
| 256 | 254 | ||
| 257 | static inline int sysfs_schedule_callback(struct kobject *kobj, | ||
| 258 | void (*func)(void *), void *data, struct module *owner) | ||
| 259 | { | ||
| 260 | return -ENOSYS; | ||
| 261 | } | ||
| 262 | |||
| 263 | static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) | 255 | static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) |
| 264 | { | 256 | { |
| 265 | return 0; | 257 | return 0; |
