Home
last modified time | relevance | path

Searched refs:cmos_lock (Results 1 – 2 of 2) sorted by relevance

/arch/x86/include/asm/
Dmc146818rtc.h35 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()
/arch/x86/kernel/
Drtc.c19 volatile unsigned long cmos_lock = 0; variable
20 EXPORT_SYMBOL(cmos_lock);