Export rv_get_task_monitor_slot, rv_put_task_monitor_slot, and rv_react to GPL modules so they can be accessed by KUnit and future monitors built as kernel modules.
Showing the changes to kernel (2 of 2 files). Show all
Unified · Split
| @@ -181,6 +181,7 @@ int rv_get_task_monitor_slot(void) · 180 unmodified lines | ||
| 181 | 181 | |
| 182 | 182 | return -EBUSY; |
| 183 | 183 | } |
| 184 | +EXPORT_SYMBOL_GPL(rv_get_task_monitor_slot); | |
| 184 | 185 | |
| 185 | 186 | void rv_put_task_monitor_slot(int slot) |
| 186 | 187 | { |
| @@ -197,6 +198,7 @@ void rv_put_task_monitor_slot(int slot) · 10 unmodified lines | ||
| 197 | 198 | |
| 198 | 199 | task_monitor_slots[slot] = false; |
| 199 | 200 | } |
| 201 | +EXPORT_SYMBOL_GPL(rv_put_task_monitor_slot); | |
| 200 | 202 | |
| 201 | 203 | /* |
| 202 | 204 | * Monitors with a parent are nested, |
| @@ -479,3 +479,4 @@ void rv_react(struct rv_monitor *monitor, const char *msg, ...) · 478 unmodified lines | ||
| 479 | 479 | |
| 480 | 480 | va_end(args); |
| 481 | 481 | } |
| 482 | +EXPORT_SYMBOL_GPL(rv_react); | |