aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-11-07 17:12:34 -0500
committerDavid S. Miller <davem@davemloft.net>2005-11-07 17:12:34 -0500
commit1928f8e541245eae933f8c95b64b2bc3683f9661 (patch)
tree6a3d0b88315a7fce739aabe68af320124af67529 /arch/sparc64/kernel
parent16cf0d816541fde06ed8f37c0f5cf9940cdfc145 (diff)
[SPARC] envctrl: implement ->unlocked_ioctl and ->compat_ioctl
all the ioctls in the driver are 32bit compat clean and don't need BKL, so we can switch it to ->unlocked_ioctl and ->compat_ioctl trivially. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel')
-rw-r--r--arch/sparc64/kernel/ioctl32.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/sparc64/kernel/ioctl32.c b/arch/sparc64/kernel/ioctl32.c
index fa486229c618..d20c8098cdf2 100644
--- a/arch/sparc64/kernel/ioctl32.c
+++ b/arch/sparc64/kernel/ioctl32.c
@@ -474,16 +474,6 @@ COMPATIBLE_IOCTL(FBIOGCURMAX)
474/* Little v, the video4linux ioctls */ 474/* Little v, the video4linux ioctls */
475COMPATIBLE_IOCTL(_IOR('p', 20, int[7])) /* RTCGET */ 475COMPATIBLE_IOCTL(_IOR('p', 20, int[7])) /* RTCGET */
476COMPATIBLE_IOCTL(_IOW('p', 21, int[7])) /* RTCSET */ 476COMPATIBLE_IOCTL(_IOW('p', 21, int[7])) /* RTCSET */
477COMPATIBLE_IOCTL(ENVCTRL_RD_WARNING_TEMPERATURE)
478COMPATIBLE_IOCTL(ENVCTRL_RD_SHUTDOWN_TEMPERATURE)
479COMPATIBLE_IOCTL(ENVCTRL_RD_CPU_TEMPERATURE)
480COMPATIBLE_IOCTL(ENVCTRL_RD_FAN_STATUS)
481COMPATIBLE_IOCTL(ENVCTRL_RD_VOLTAGE_STATUS)
482COMPATIBLE_IOCTL(ENVCTRL_RD_SCSI_TEMPERATURE)
483COMPATIBLE_IOCTL(ENVCTRL_RD_ETHERNET_TEMPERATURE)
484COMPATIBLE_IOCTL(ENVCTRL_RD_MTHRBD_TEMPERATURE)
485COMPATIBLE_IOCTL(ENVCTRL_RD_CPU_VOLTAGE)
486COMPATIBLE_IOCTL(ENVCTRL_RD_GLOBALADDRESS)
487/* COMPATIBLE_IOCTL(D7SIOCRD) same value as ENVCTRL_RD_VOLTAGE_STATUS */ 477/* COMPATIBLE_IOCTL(D7SIOCRD) same value as ENVCTRL_RD_VOLTAGE_STATUS */
488COMPATIBLE_IOCTL(D7SIOCWR) 478COMPATIBLE_IOCTL(D7SIOCWR)
489COMPATIBLE_IOCTL(D7SIOCTM) 479COMPATIBLE_IOCTL(D7SIOCTM)