[PATCH] x86_64: Fix ioctl compat code for /dev/rtc
authorAndi Kleen <ak@suse.de>
Sun, 26 Feb 2006 03:18:55 +0000 (04:18 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 26 Feb 2006 17:53:31 +0000 (09:53 -0800)
commitfc5870f66279fabedc9dbba7c28451bbb8f47778
treef0beaef2e55404663ef0872c923813df9a0fa7b5
parentab9b32ee626e9b6df4ce2560a70ae15e62423cf4
[PATCH] x86_64: Fix ioctl compat code for /dev/rtc

RTC_IRQP_SET/RTC_EPOCH_SET don't take a pointer to an argument, but the
argument itself.  This actually simplifies the code and makes it work.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/compat_ioctl.c