commit | 77c382c0b10cbe49605dd111efa3457843764e43 | [log] [tgz] |
---|---|---|
author | Varun Wadekar <vwadekar@nvidia.com> | Wed Jan 30 08:26:20 2019 -0800 |
committer | Varun Wadekar <vwadekar@nvidia.com> | Thu Feb 07 09:00:52 2019 -0800 |
tree | c30ae2d9e0a3096638d4bbe51eaaf9924392726a | |
parent | fadd538d362bfdb5ec48bfbca91b884fb54ad7ad [diff] |
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>