Skip to content

Commit 2e15fc5

Browse files
lyakhkv2019i
authored andcommitted
llext: fix undefined symbols
The recently added xrun notification framework failed to export symbols to LLEXT modules. This might remain unnoticed until an xrun happens and a module attempts to send a notification, at which popint it will cause an exception. This might be the cause of recent CI failures. This commit adds the missing exports. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 97f869c commit 2e15fc5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/ipc/ipc4/notification.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
#include <stdbool.h>
1212
#include <ipc4/notification.h>
1313

14+
#include <rtos/symbol.h>
15+
1416
static void resource_notif_header_init(struct ipc_msg *msg)
1517
{
1618
struct ipc4_resource_event_data_notification *notif_data = msg->tx_data;
@@ -77,6 +79,7 @@ void mixer_underrun_notif_msg_init(struct ipc_msg *msg, uint32_t resource_id, ui
7779
notif_data->event_data.mixer_underrun.data_mixed = data_mixed;
7880
notif_data->event_data.mixer_underrun.expected_data_mixed = expected_data_mixed;
7981
}
82+
EXPORT_SYMBOL(mixer_underrun_notif_msg_init);
8083

8184
void process_data_error_notif_msg_init(struct ipc_msg *msg, uint32_t resource_id,
8285
uint32_t error_code)

src/ipc/notification_pool.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#include <sof/list.h>
1111
#include <sof/ipc/notification_pool.h>
1212

13+
#include <rtos/symbol.h>
14+
1315
#define NOTIFICATION_POOL_MAX_PAYLOAD_SIZE 40 /* IPC4 Resource Event needs 10dw */
1416
#define NOTIFICATION_POOL_MAX_DEPTH 8 /* Maximum number of notifications
1517
* in the pool
@@ -98,3 +100,4 @@ struct ipc_msg *ipc_notification_pool_get(size_t size)
98100
item->msg.tx_size = size;
99101
return &item->msg;
100102
}
103+
EXPORT_SYMBOL(ipc_notification_pool_get);

0 commit comments

Comments
 (0)