locks: linker variables to calculate per-cpu bakery lock size
This patch introduces explicit linker variables to mark the start and
end of the per-cpu bakery lock section to help bakery_lock_normal.c
calculate the size of the section. This patch removes the previously
used '__PERCPU_BAKERY_LOCK_SIZE__' linker variable to make the code
uniform across GNU linker and ARM linker.

Change-Id: Ie0c51702cbc0fe8a2076005344a1fcebb48e7cca
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
1 parent 5e2fe3a commit 596929b971dc4366a490d5909a265c038502d284
@Varun Wadekar Varun Wadekar authored on 30 Jan 2019
Showing 4 changed files
View
bl31/bl31.ld.S
View
bl32/sp_min/sp_min.ld.S
View
lib/locks/bakery/bakery_lock_normal.c
View
plat/mediatek/mt6795/bl31.ld.S