Searched refs:cmos_lock (Results 1 – 2 of 2) sorted by relevance
34 extern volatile unsigned long cmos_lock;46 if (cmos_lock) { in lock_cmos()50 if (__cmpxchg(&cmos_lock, 0, new, sizeof(cmos_lock)) == 0) in lock_cmos()57 cmos_lock = 0; in unlock_cmos()62 return (cmos_lock >> 8) == (smp_processor_id() + 1); in do_i_have_lock_cmos()67 return cmos_lock & 0xff; in current_lock_cmos_reg()
25 volatile unsigned long cmos_lock; variable26 EXPORT_SYMBOL(cmos_lock);