android_kernel_xiaomi_sm8350/arch
Christoph Hellwig ec3cad9690 [PATCH] move rtc compat ioctl handling to fs/compat_ioctl.c
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@lst.de>
Acked-by: Matthew Wilcox <matthew@wil.cx>
Acked-by: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-10 08:01:32 -08:00
..
alpha [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
arm Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2006-01-09 17:06:53 -08:00
arm26 [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
cris [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
frv [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
h8300 [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
i386 [PATCH] kexec: change CONFIG_PHYSICAL_START dependency 2006-01-10 08:01:29 -08:00
ia64 [PATCH] common compat_sys_timer_create 2006-01-10 08:01:32 -08:00
m32r [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
m68k [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
m68knommu [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
mips Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 2006-01-09 18:41:42 -08:00
parisc [PATCH] move rtc compat ioctl handling to fs/compat_ioctl.c 2006-01-10 08:01:32 -08:00
powerpc [PATCH] common compat_sys_timer_create 2006-01-10 08:01:32 -08:00
ppc [PATCH] kdump: dynamic per cpu allocation of memory for saving cpu registers 2006-01-10 08:01:26 -08:00
s390 [PATCH] common compat_sys_timer_create 2006-01-10 08:01:32 -08:00
sh [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
sh64 [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
sparc [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
sparc64 [PATCH] common compat_sys_timer_create 2006-01-10 08:01:32 -08:00
um [PATCH] tiny: Make *[ug]id16 support optional 2006-01-08 20:14:11 -08:00
v850 [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
x86_64 [PATCH] move rtc compat ioctl handling to fs/compat_ioctl.c 2006-01-10 08:01:32 -08:00
xtensa [PATCH] "tiny-make-id16-support-optional" fixes 2006-01-10 08:01:23 -08:00