public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mc146818rtc.h for user land programs (2.4.10)
@ 2001-09-26 16:19 Steven Rostedt
  2001-09-26 16:26 ` Alan Cox
  2001-09-26 16:33 ` Ben Greear
  0 siblings, 2 replies; 6+ messages in thread
From: Steven Rostedt @ 2001-09-26 16:19 UTC (permalink / raw)
  To: duwe; +Cc: torvalds, Linux Kernel Mailing List

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




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-09-27 11:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-26 16:19 [PATCH] mc146818rtc.h for user land programs (2.4.10) Steven Rostedt
2001-09-26 16:26 ` Alan Cox
2001-09-26 16:33 ` Ben Greear
2001-09-26 17:40   ` Tim Hockin
2001-09-26 18:20     ` Steven Rostedt
2001-09-27 11:48   ` Torsten Duwe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox