[PATCH] mc146818rtc.h for user land programs (2.4.10)

From: Steven Rostedt (rostedt@stny.rr.com)
Date: Wed Sep 26 2001 - 11:19:44 EST


The following patch is for linux-2.4.10
This is needed for user land programs to use the
mc146818rtc.h header.

--- include/linux/mc146818rtc.h.orig Wed Sep 26 23:43:00 2001
+++ include/linux/mc146818rtc.h Wed Sep 26 23:43:25 2001
@@ -16,7 +16,9 @@
 #include <linux/spinlock.h> /* spinlock_t */
 #include <asm/mc146818rtc.h> /* register access macros */

+#ifdef __KERNEL__
 extern spinlock_t rtc_lock; /* serialize CMOS RAM access */
+#endif

 /**********************************************************************
  * register summary

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:00:45 EST