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

Steven Rostedt (rostedt@stny.rr.com)
Wed, 26 Sep 2001 12:19:44 -0400 (EDT)


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/