patch-2.2.18 linux/include/linux/mc146818rtc.h

Next file: linux/include/linux/mc6821.h
Previous file: linux/include/linux/major.h
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/include/linux/mc146818rtc.h linux/include/linux/mc146818rtc.h
@@ -26,6 +26,8 @@
 outb_p((val),RTC_PORT(1)); \
 })
 
+extern spinlock_t rtc_lock;	/* You must hold this lock to use CMOS_* ops */
+
 /**********************************************************************
  * register summary
  **********************************************************************/

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)