hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/kernel/ksysfs.c
....@@ -138,15 +138,6 @@
138138
139139 #endif /* CONFIG_CRASH_CORE */
140140
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
-
150141 /* whether file capabilities are enabled */
151142 static ssize_t fscaps_show(struct kobject *kobj,
152143 struct kobj_attribute *attr, char *buf)
....@@ -237,9 +228,6 @@
237228 #ifndef CONFIG_TINY_RCU
238229 &rcu_expedited_attr.attr,
239230 &rcu_normal_attr.attr,
240
-#endif
241
-#ifdef CONFIG_PREEMPT_RT
242
- &realtime_attr.attr,
243231 #endif
244232 NULL
245233 };