Lines 71-80
Link Here
|
71 |
switch (args->cmd & 0xffff) { |
71 |
switch (args->cmd & 0xffff) { |
72 |
case LINUX_RTC_PIE_ON: |
72 |
case LINUX_RTC_PIE_ON: |
73 |
args->cmd=RTCIO_PIE_ON; |
73 |
args->cmd=RTCIO_PIE_ON; |
74 |
return ioctl(p, (struct ioctl_args*)args); |
74 |
return sys_ioctl(p, (struct ioctl_args*)args); |
75 |
case LINUX_RTC_IRQP_SET: |
75 |
case LINUX_RTC_IRQP_SET: |
76 |
args->cmd=RTCIO_IRQP_SET; |
76 |
args->cmd=RTCIO_IRQP_SET; |
77 |
return ioctl(p, (struct ioctl_args*)args); |
77 |
return sys_ioctl(p, (struct ioctl_args*)args); |
78 |
} |
78 |
} |
79 |
return (ENOIOCTL); |
79 |
return (ENOIOCTL); |
80 |
} |
80 |
} |