soc: qcom: Don't print thread info for arm arch

Don't print thread info for arm arch as it is not supported
for 32 bit architecture.

Change-Id: I9327675d85670fed78e1778c993ab6fa574c972a
Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com>
This commit is contained in:
Rohit Agarwal 2023-11-17 11:57:45 +05:30
commit b6d7ae331e

View file

@ -656,10 +656,16 @@ static void md_dump_task_info(struct task_struct *task, char *status,
se = &task->se;
if (task == curr) {
#ifdef CONFIG_ARM64
seq_buf_printf(md_runq_seq_buf,
"[status: curr] pid: %d comm: %s preempt: %#x\n",
task_pid_nr(task), task->comm,
task->thread_info.preempt_count);
#else
seq_buf_printf(md_runq_seq_buf,
"[status: curr] pid: %d comm: %s\n",
task_pid_nr(task), task->comm);
#endif
return;
}