Linux 6.9-rc1
[linux-2.6-microblaze.git] / kernel / stacktrace.c
index 9ed5ce9..afb3c11 100644 (file)
@@ -126,7 +126,7 @@ EXPORT_SYMBOL_GPL(stack_trace_save);
 
 /**
  * stack_trace_save_tsk - Save a task stack trace into a storage array
- * @task:      The task to examine
+ * @tsk:       The task to examine
  * @store:     Pointer to storage array
  * @size:      Size of the storage array
  * @skipnr:    Number of entries to skip at the start of the stack trace
@@ -151,6 +151,7 @@ unsigned int stack_trace_save_tsk(struct task_struct *tsk, unsigned long *store,
        put_task_stack(tsk);
        return c.len;
 }
+EXPORT_SYMBOL_GPL(stack_trace_save_tsk);
 
 /**
  * stack_trace_save_regs - Save a stack trace based on pt_regs into a storage array
@@ -301,6 +302,7 @@ unsigned int stack_trace_save_tsk(struct task_struct *task,
        save_stack_trace_tsk(task, &trace);
        return trace.nr_entries;
 }
+EXPORT_SYMBOL_GPL(stack_trace_save_tsk);
 
 /**
  * stack_trace_save_regs - Save a stack trace based on pt_regs into a storage array