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

Commit fa5d3af0 authored by Ravikanth Tuniki's avatar Ravikanth Tuniki
Browse files

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: default avatarRavikanth Tuniki <rtunik@codeaurora.org>
parent 3313dedb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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++) {