mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
disp: msm: use platform independent API for cpu number
Use platform independent API for cpu number which compiles on both 32 and 64 bit machine. Change-Id: I539de278776623a84067460569a2b99676a2ba4e Signed-off-by: Ravikanth Tuniki <rtunik@codeaurora.org>
This commit is contained in:
parent
2eb06ab57f
commit
08a2bea751
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#define pr_fmt(fmt) "sde_dbg:[%s] " fmt, __func__
|
||||
|
|
@ -80,7 +80,7 @@ void sde_evtlog_log(struct sde_dbg_evtlog *evtlog, const char *name, int line,
|
|||
log->line = line;
|
||||
log->data_cnt = 0;
|
||||
log->pid = current->pid;
|
||||
log->cpu = current->cpu;
|
||||
log->cpu = raw_smp_processor_id();
|
||||
|
||||
va_start(args, flag);
|
||||
for (i = 0; i < SDE_EVTLOG_MAX_DATA; i++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue