Searched refs:cmos_lock (Results 1 – 2 of 2) sorted by relevance
35 extern volatile unsigned long cmos_lock;47 if (cmos_lock) { in lock_cmos()51 if (__cmpxchg(&cmos_lock, 0, new, sizeof(cmos_lock)) == 0) in lock_cmos()58 cmos_lock = 0; in unlock_cmos()63 return (cmos_lock >> 8) == (smp_processor_id() + 1); in do_i_have_lock_cmos()68 return cmos_lock & 0xff; in current_lock_cmos_reg()
19 volatile unsigned long cmos_lock = 0; variable20 EXPORT_SYMBOL(cmos_lock);