diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /include/linux/sysfs.h | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'include/linux/sysfs.h')
-rw-r--r-- | include/linux/sysfs.h | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index 96eb576d82fd..e2696d76a599 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h | |||
@@ -164,6 +164,10 @@ int sysfs_add_file_to_group(struct kobject *kobj, | |||
164 | const struct attribute *attr, const char *group); | 164 | const struct attribute *attr, const char *group); |
165 | void sysfs_remove_file_from_group(struct kobject *kobj, | 165 | void sysfs_remove_file_from_group(struct kobject *kobj, |
166 | const struct attribute *attr, const char *group); | 166 | const struct attribute *attr, const char *group); |
167 | int sysfs_merge_group(struct kobject *kobj, | ||
168 | const struct attribute_group *grp); | ||
169 | void sysfs_unmerge_group(struct kobject *kobj, | ||
170 | const struct attribute_group *grp); | ||
167 | 171 | ||
168 | void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr); | 172 | void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr); |
169 | void sysfs_notify_dirent(struct sysfs_dirent *sd); | 173 | void sysfs_notify_dirent(struct sysfs_dirent *sd); |
@@ -172,10 +176,6 @@ struct sysfs_dirent *sysfs_get_dirent(struct sysfs_dirent *parent_sd, | |||
172 | const unsigned char *name); | 176 | const unsigned char *name); |
173 | struct sysfs_dirent *sysfs_get(struct sysfs_dirent *sd); | 177 | struct sysfs_dirent *sysfs_get(struct sysfs_dirent *sd); |
174 | void sysfs_put(struct sysfs_dirent *sd); | 178 | void sysfs_put(struct sysfs_dirent *sd); |
175 | void sysfs_printk_last_file(void); | ||
176 | |||
177 | /* Called to clear a ns tag when it is no longer valid */ | ||
178 | void sysfs_exit_ns(enum kobj_ns_type type, const void *tag); | ||
179 | 179 | ||
180 | int __must_check sysfs_init(void); | 180 | int __must_check sysfs_init(void); |
181 | 181 | ||
@@ -302,6 +302,17 @@ static inline void sysfs_remove_file_from_group(struct kobject *kobj, | |||
302 | { | 302 | { |
303 | } | 303 | } |
304 | 304 | ||
305 | static inline int sysfs_merge_group(struct kobject *kobj, | ||
306 | const struct attribute_group *grp) | ||
307 | { | ||
308 | return 0; | ||
309 | } | ||
310 | |||
311 | static inline void sysfs_unmerge_group(struct kobject *kobj, | ||
312 | const struct attribute_group *grp) | ||
313 | { | ||
314 | } | ||
315 | |||
305 | static inline void sysfs_notify(struct kobject *kobj, const char *dir, | 316 | static inline void sysfs_notify(struct kobject *kobj, const char *dir, |
306 | const char *attr) | 317 | const char *attr) |
307 | { | 318 | { |
@@ -324,19 +335,11 @@ static inline void sysfs_put(struct sysfs_dirent *sd) | |||
324 | { | 335 | { |
325 | } | 336 | } |
326 | 337 | ||
327 | static inline void sysfs_exit_ns(int type, const void *tag) | ||
328 | { | ||
329 | } | ||
330 | |||
331 | static inline int __must_check sysfs_init(void) | 338 | static inline int __must_check sysfs_init(void) |
332 | { | 339 | { |
333 | return 0; | 340 | return 0; |
334 | } | 341 | } |
335 | 342 | ||
336 | static inline void sysfs_printk_last_file(void) | ||
337 | { | ||
338 | } | ||
339 | |||
340 | #endif /* CONFIG_SYSFS */ | 343 | #endif /* CONFIG_SYSFS */ |
341 | 344 | ||
342 | #endif /* _SYSFS_H_ */ | 345 | #endif /* _SYSFS_H_ */ |