Synopsis
int ctl_global_interrupts_disable(void);
Description

ctl_global_interrupts_disable disables global interrupts. If ctl_global_interrupts_disable is called and interrupts are already disabled then it will return 0. If ctl_global_interrupts_disable is called and interrupts are enabled then it will return non-zero which may or may not represent the true interrupt disabled state. ctl_global_interrupts_disable is used to provide exclusive access to CTL data structures the implementation of it may or may not disable global interrupts.