diff options
Diffstat (limited to 'include/linux/compat_ioctl.h')
-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 2209ad3499a3..174f3379e5d9 100644 --- a/include/linux/compat_ioctl.h +++ b/include/linux/compat_ioctl.h | |||
@@ -259,6 +259,14 @@ COMPATIBLE_IOCTL(RTC_RD_TIME) | |||
259 | COMPATIBLE_IOCTL(RTC_SET_TIME) | 259 | COMPATIBLE_IOCTL(RTC_SET_TIME) |
260 | COMPATIBLE_IOCTL(RTC_WKALM_SET) | 260 | COMPATIBLE_IOCTL(RTC_WKALM_SET) |
261 | COMPATIBLE_IOCTL(RTC_WKALM_RD) | 261 | COMPATIBLE_IOCTL(RTC_WKALM_RD) |
262 | /* | ||
263 | * These two are only for the sbus rtc driver, but | ||
264 | * hwclock tries them on every rtc device first when | ||
265 | * running on sparc. On other architectures the entries | ||
266 | * are useless but harmless. | ||
267 | */ | ||
268 | COMPATIBLE_IOCTL(_IOR('p', 20, int[7])) /* RTCGET */ | ||
269 | COMPATIBLE_IOCTL(_IOW('p', 21, int[7])) /* RTCSET */ | ||
262 | /* Little m */ | 270 | /* Little m */ |
263 | COMPATIBLE_IOCTL(MTIOCTOP) | 271 | COMPATIBLE_IOCTL(MTIOCTOP) |
264 | /* Socket level stuff */ | 272 | /* Socket level stuff */ |