llext: use EXPORT_SYMBOL() universally
Replace LL_EXTENSION_SYMBOL() with EXPORT_SYMBOL() in all tests and samples. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
parent
bd09a5c739
commit
19ccec6a03
|
@ -31,4 +31,4 @@ int start(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
LL_EXTENSION_SYMBOL(start);
|
||||
EXPORT_SYMBOL(start);
|
||||
|
|
|
@ -23,4 +23,4 @@ int start(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
LL_EXTENSION_SYMBOL(start);
|
||||
EXPORT_SYMBOL(start);
|
||||
|
|
|
@ -62,4 +62,4 @@ int start(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
LL_EXTENSION_SYMBOL(start);
|
||||
EXPORT_SYMBOL(start);
|
||||
|
|
|
@ -61,4 +61,4 @@ int start(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
LL_EXTENSION_SYMBOL(start);
|
||||
EXPORT_SYMBOL(start);
|
||||
|
|
|
@ -24,4 +24,4 @@ void hello_world(void)
|
|||
printk("Hello, world, from an llext!\n");
|
||||
#endif
|
||||
}
|
||||
LL_EXTENSION_SYMBOL(hello_world);
|
||||
EXPORT_SYMBOL(hello_world);
|
||||
|
|
|
@ -14,4 +14,4 @@ int start(int bar)
|
|||
printk("foo(%d) is %d\n", bar, foo(bar));
|
||||
return 0;
|
||||
}
|
||||
LL_EXTENSION_SYMBOL(start);
|
||||
EXPORT_SYMBOL(start);
|
||||
|
|
|
@ -22,4 +22,4 @@ void test_entry(void)
|
|||
/* unused */
|
||||
}
|
||||
|
||||
LL_EXTENSION_SYMBOL(number);
|
||||
EXPORT_SYMBOL(number);
|
||||
|
|
|
@ -24,4 +24,4 @@ void test_entry(void)
|
|||
printk("A number is %u\n", number);
|
||||
zassert_equal(number, 42);
|
||||
}
|
||||
LL_EXTENSION_SYMBOL(test_entry);
|
||||
EXPORT_SYMBOL(test_entry);
|
||||
|
|
|
@ -23,4 +23,4 @@ void test_entry(void)
|
|||
LOG_INF("hello world");
|
||||
LOG_INF("A number is %" PRIu32, number);
|
||||
}
|
||||
LL_EXTENSION_SYMBOL(test_entry);
|
||||
EXPORT_SYMBOL(test_entry);
|
||||
|
|
|
@ -32,4 +32,4 @@ void test_entry(void)
|
|||
__asm volatile ("blx r0");
|
||||
zassert_equal(test_var, 1, "mov.w and mov.t test failed");
|
||||
}
|
||||
LL_EXTENSION_SYMBOL(test_entry);
|
||||
EXPORT_SYMBOL(test_entry);
|
||||
|
|
|
@ -50,4 +50,4 @@ void test_entry(void)
|
|||
|
||||
run_id += 1;
|
||||
}
|
||||
LL_EXTENSION_SYMBOL(test_entry);
|
||||
EXPORT_SYMBOL(test_entry);
|
||||
|
|
|
@ -45,4 +45,4 @@ void test_entry(void)
|
|||
|
||||
run_id += 1;
|
||||
}
|
||||
LL_EXTENSION_SYMBOL(test_entry);
|
||||
EXPORT_SYMBOL(test_entry);
|
||||
|
|
|
@ -16,4 +16,4 @@ void test_entry(void)
|
|||
{
|
||||
/* This function is never called */
|
||||
}
|
||||
LL_EXTENSION_SYMBOL(test_entry);
|
||||
EXPORT_SYMBOL(test_entry);
|
||||
|
|
|
@ -62,4 +62,4 @@ void test_entry(void)
|
|||
printk("exit\n");
|
||||
zassert_equal(test_var, 1, "relative jump test failed");
|
||||
}
|
||||
LL_EXTENSION_SYMBOL(test_entry);
|
||||
EXPORT_SYMBOL(test_entry);
|
||||
|
|
|
@ -23,4 +23,4 @@ void test_entry(void)
|
|||
input, input + 1, output);
|
||||
zassert_equal(output, input + 1);
|
||||
}
|
||||
LL_EXTENSION_SYMBOL(test_entry);
|
||||
EXPORT_SYMBOL(test_entry);
|
||||
|
|
|
@ -42,4 +42,4 @@ void test_entry(void)
|
|||
k_thread_join(&my_thread, K_FOREVER);
|
||||
printk("Test thread joined\n");
|
||||
}
|
||||
LL_EXTENSION_SYMBOL(test_entry);
|
||||
EXPORT_SYMBOL(test_entry);
|
||||
|
|
Loading…
Reference in New Issue