.. | .. |
---|
138 | 138 | |
---|
139 | 139 | #endif /* CONFIG_CRASH_CORE */ |
---|
140 | 140 | |
---|
141 | | -#if defined(CONFIG_PREEMPT_RT) |
---|
142 | | -static ssize_t realtime_show(struct kobject *kobj, |
---|
143 | | - struct kobj_attribute *attr, char *buf) |
---|
144 | | -{ |
---|
145 | | - return sprintf(buf, "%d\n", 1); |
---|
146 | | -} |
---|
147 | | -KERNEL_ATTR_RO(realtime); |
---|
148 | | -#endif |
---|
149 | | - |
---|
150 | 141 | /* whether file capabilities are enabled */ |
---|
151 | 142 | static ssize_t fscaps_show(struct kobject *kobj, |
---|
152 | 143 | struct kobj_attribute *attr, char *buf) |
---|
.. | .. |
---|
237 | 228 | #ifndef CONFIG_TINY_RCU |
---|
238 | 229 | &rcu_expedited_attr.attr, |
---|
239 | 230 | &rcu_normal_attr.attr, |
---|
240 | | -#endif |
---|
241 | | -#ifdef CONFIG_PREEMPT_RT |
---|
242 | | - &realtime_attr.attr, |
---|
243 | 231 | #endif |
---|
244 | 232 | NULL |
---|
245 | 233 | }; |
---|