diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-12 12:23:25 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-12 12:23:25 -0800 |
commit | 9e6c67fd2716720d9029d38ea25884efcfdedeb6 (patch) | |
tree | 590d07900b52f148036fd99e1313a222b52cca51 /include | |
parent | 8225ccbaf01b459cf1e462047a51b2851e756bc1 (diff) | |
parent | 9ffb83bcc5c5337f980dc0576bf13ac9bd4fd33d (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/compat_ioctl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/compat_ioctl.h b/include/linux/compat_ioctl.h index 2209ad3499a..174f3379e5d 100644 --- a/include/linux/compat_ioctl.h +++ b/include/linux/compat_ioctl.h @@ -259,6 +259,14 @@ COMPATIBLE_IOCTL(RTC_RD_TIME) COMPATIBLE_IOCTL(RTC_SET_TIME) COMPATIBLE_IOCTL(RTC_WKALM_SET) COMPATIBLE_IOCTL(RTC_WKALM_RD) +/* + * These two are only for the sbus rtc driver, but + * hwclock tries them on every rtc device first when + * running on sparc. On other architectures the entries + * are useless but harmless. + */ +COMPATIBLE_IOCTL(_IOR('p', 20, int[7])) /* RTCGET */ +COMPATIBLE_IOCTL(_IOW('p', 21, int[7])) /* RTCSET */ /* Little m */ COMPATIBLE_IOCTL(MTIOCTOP) /* Socket level stuff */ |