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

From: Ben Greear (greearb@candelatech.com)
Date: Wed Sep 26 2001 - 11:33:49 EST


Steven Rostedt wrote:
>
> 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

I can see arguing with Alan about the inclusion of linux-kernel headers
in some cases, but I don't see anything in this file that looks like a
user-space program could use. Which part of this file do the user
space programs need?

Ben

-- 
Ben Greear <greearb@candelatech.com>          <Ben_Greear@excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear
-
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