Mark tlbLockCount as visible so it is not discarded

This variable is referenced in assembler and needs to not get discarded
by the optimizer prior to linking.
This commit is contained in:
Adrian Danis 2016-05-24 08:46:54 +10:00
parent 39a2c4f108
commit bbdf7a89a7

View file

@ -30,7 +30,7 @@ extern const word_t ksDomScheduleLength;
extern word_t ksDomScheduleIdx;
extern dom_t ksCurDomain;
extern word_t ksDomainTime;
extern word_t tlbLockCount;
extern word_t tlbLockCount VISIBLE;
#define SchedulerAction_ResumeCurrentThread ((tcb_t*)0)
#define SchedulerAction_ChooseNewThread ((tcb_t*)~0)