File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ impl RawThread {
51
51
/// This function might sleep in `kthread_create_on_node` due to the memory
52
52
/// allocation and waiting for the completion, therefore do not call this
53
53
/// in atomic contexts (i.e. preemption-off contexts).
54
- pub unsafe fn try_new (
54
+ pub unsafe fn spawn (
55
55
name : & CStr ,
56
56
f : unsafe extern "C" fn ( * mut c_types:: c_void ) -> c_types:: c_int ,
57
57
arg : * mut c_types:: c_void ,
@@ -214,7 +214,7 @@ impl Thread {
214
214
// SAFETY: `bridge::<F>` is a proper function pointer to a C function,
215
215
// and [`Box::from_raw`] will be used in it to consume the raw pointer
216
216
// in the new thread.
217
- let result = unsafe { RawThread :: try_new ( name, bridge :: < F > , data as _ ) } ;
217
+ let result = unsafe { RawThread :: spawn ( name, bridge :: < F > , data as _ ) } ;
218
218
219
219
if result. is_err ( ) {
220
220
// Creation fails, we need to consume the raw pointer `data` because
Original file line number Diff line number Diff line change @@ -409,9 +409,7 @@ if [ -n "${CONFIG_KALLSYMS}" ]; then
409
409
size1=$( ${CONFIG_SHELL} " ${srctree} /scripts/file-size.sh" ${kallsymso_prev} )
410
410
size2=$( ${CONFIG_SHELL} " ${srctree} /scripts/file-size.sh" ${kallsymso} )
411
411
412
- if [ $size1 -ne $size2 ] || [ -n " ${KALLSYMS_EXTRA_PASS} " ]; then
413
- kallsyms_step 3
414
- fi
412
+ kallsyms_step 3
415
413
fi
416
414
417
415
vmlinux_link vmlinux " ${kallsymso} " ${btf_vmlinux_bin_o}
You can’t perform that action at this time.
0 commit comments