Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6d7ae33 authored by Rohit Agarwal's avatar Rohit Agarwal
Browse files

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: default avatarRohit Agarwal <quic_rohiagar@quicinc.com>
parent 253ff030
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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;
	}