diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2017-01-12 14:30:29 -0800 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2017-01-24 11:12:28 -0800 |
commit | bf02454a741b58682a82c314a9a46bed930ed2f7 (patch) | |
tree | 4175b5ba0876a3bbbbd243ccdf692b46e5365025 /drivers/scsi/sr.h | |
parent | 517e7610d2ce04d1b8d8b6c6d1a36dcce5cac6ab (diff) | |
download | linux-stable-bf02454a741b58682a82c314a9a46bed930ed2f7.tar.gz linux-stable-bf02454a741b58682a82c314a9a46bed930ed2f7.tar.bz2 linux-stable-bf02454a741b58682a82c314a9a46bed930ed2f7.zip |
ARC: smp-boot: Decouple Non masters waiting API from jump to entry point
For run-on-reset SMP configs, non master cores call a routine which
waits until Master gives it a "go" signal (currently using a shared
mem flag). The same routine then jumps off the well known entry point of
all non Master cores i.e. @first_lines_of_secondary
This patch moves out the last part into one single place in early boot
code.
This is better in terms of absraction (the wait API only waits) and
returns, leaving out the "jump off to" part.
In actual implementation this requires some restructuring of the early
boot code as well as Master now jumps to BSS setup explicitly,
vs. falling thru into it before.
Technically this patch doesn't cause any functional change, it just
moves the ugly #ifdef'ry from assembly code to "C"
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'drivers/scsi/sr.h')
0 files changed, 0 insertions, 0 deletions