rv: Export task monitor slot and react symbols

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.

Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20260723074534.43521-12-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
This commit is contained in:
Gabriele Monaco
2026-07-23 09:45:28 +02:00
parent 7b6246294e
commit be22e55b37
2 changed files with 3 additions and 0 deletions

View File

@@ -181,6 +181,7 @@ int rv_get_task_monitor_slot(void)
return -EBUSY;
}
EXPORT_SYMBOL_GPL(rv_get_task_monitor_slot);
void rv_put_task_monitor_slot(int slot)
{
@@ -197,6 +198,7 @@ void rv_put_task_monitor_slot(int slot)
task_monitor_slots[slot] = false;
}
EXPORT_SYMBOL_GPL(rv_put_task_monitor_slot);
/*
* Monitors with a parent are nested,

View File

@@ -479,3 +479,4 @@ void rv_react(struct rv_monitor *monitor, const char *msg, ...)
va_end(args);
}
EXPORT_SYMBOL_GPL(rv_react);