mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
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:
parent
253ff03050
commit
b6d7ae331e
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue