diff options
Diffstat (limited to 'include/linux/seq_file.h')
-rw-r--r-- | include/linux/seq_file.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/include/linux/seq_file.h b/include/linux/seq_file.h index cf6a9daaaf6d..afbb1fd77c77 100644 --- a/include/linux/seq_file.h +++ b/include/linux/seq_file.h | |||
@@ -126,31 +126,6 @@ int seq_path(struct seq_file *, const struct path *, const char *); | |||
126 | int seq_dentry(struct seq_file *, struct dentry *, const char *); | 126 | int seq_dentry(struct seq_file *, struct dentry *, const char *); |
127 | int seq_path_root(struct seq_file *m, const struct path *path, | 127 | int seq_path_root(struct seq_file *m, const struct path *path, |
128 | const struct path *root, const char *esc); | 128 | const struct path *root, const char *esc); |
129 | int seq_bitmap(struct seq_file *m, const unsigned long *bits, | ||
130 | unsigned int nr_bits); | ||
131 | static inline int seq_cpumask(struct seq_file *m, const struct cpumask *mask) | ||
132 | { | ||
133 | return seq_bitmap(m, cpumask_bits(mask), nr_cpu_ids); | ||
134 | } | ||
135 | |||
136 | static inline int seq_nodemask(struct seq_file *m, nodemask_t *mask) | ||
137 | { | ||
138 | return seq_bitmap(m, mask->bits, MAX_NUMNODES); | ||
139 | } | ||
140 | |||
141 | int seq_bitmap_list(struct seq_file *m, const unsigned long *bits, | ||
142 | unsigned int nr_bits); | ||
143 | |||
144 | static inline int seq_cpumask_list(struct seq_file *m, | ||
145 | const struct cpumask *mask) | ||
146 | { | ||
147 | return seq_bitmap_list(m, cpumask_bits(mask), nr_cpu_ids); | ||
148 | } | ||
149 | |||
150 | static inline int seq_nodemask_list(struct seq_file *m, nodemask_t *mask) | ||
151 | { | ||
152 | return seq_bitmap_list(m, mask->bits, MAX_NUMNODES); | ||
153 | } | ||
154 | 129 | ||
155 | int single_open(struct file *, int (*)(struct seq_file *, void *), void *); | 130 | int single_open(struct file *, int (*)(struct seq_file *, void *), void *); |
156 | int single_open_size(struct file *, int (*)(struct seq_file *, void *), void *, size_t); | 131 | int single_open_size(struct file *, int (*)(struct seq_file *, void *), void *, size_t); |