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

Commit f42e7df3 authored by Rohit Vaswani's avatar Rohit Vaswani Committed by Matt Wagantall
Browse files

ARM64: smp: fix incorrect per-cpu definition of regs_before_stop



The commit f3b4a40bc637a25c01c5ec66c825b4ddfc30328a introduced changes
to store CPU registers for all CPUs that handle IPI_CPU_STOP. The
structure to save the registers was intended to be a per-cpu variable.
However, the patch did not allocate a per-cpu structure and instead only
ended up providing a compiler per-cpu directive. Fix this bug by actually
defining a static per-cpu variable.

Change-Id: Iea7e52e91819f6f2c7f8d2c638545c0a68d2ef76
Signed-off-by: default avatarRohit Vaswani <rvaswani@codeaurora.org>
parent d44e2ad7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment