Re: [PATCH 1/3] move rtc compat ioctl handling to fs/compat_ioctl.c

From: David S. Miller
Date: Tue Dec 13 2005 - 17:47:59 EST


From: Christoph Hellwig <hch@xxxxxx>
Date: Tue, 13 Dec 2005 18:23:12 +0100

> This patch implements generic handling of RTC_IRQP_READ32, RTC_IRQP_SET32,
> RTC_EPOCH_READ32 and RTC_EPOCH_SET32 in fs/compat_ioctl.c. It's based on
> the x86_64 code which needed a little massaging to be endian-clean.
>
> parisc used COMPAT_IOCTL or generic w_long handlers for these whichce
> is wrong and can't work because the ioctls encode sizeof(unsigned long)
> in their ioctl number. parisc also duplicated COMPAT_IOCTL entries for
> other rtc ioctls which I remove in this patch, too.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

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