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

Commit 724e4c76 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched: move logging process id in the rtb to sched"

parents 9b6e0ea4 d21bdd9c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -46,7 +46,6 @@ static inline void contextidr_thread_switch(struct task_struct *next)
	write_sysreg(pid, contextidr_el1);
	isb();

	uncached_logk(LOGK_CTXID, (void *)(u64)pid);

}

+2 −1
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
#include <linux/kthread.h>

#include <asm/switch_to.h>
#include <linux/msm_rtb.h>
#include <asm/tlb.h>
#ifdef CONFIG_PARAVIRT
#include <asm/paravirt.h>
@@ -2916,7 +2917,7 @@ context_switch(struct rq *rq, struct task_struct *prev,
	 */
	rq_unpin_lock(rq, rf);
	spin_release(&rq->lock.dep_map, 1, _THIS_IP_);

	uncached_logk(LOGK_CTXID, (void *)(u64)next->pid);
	/* Here we just switch the register state and the stack. */
	switch_to(prev, next, prev);
	barrier();