patch-1.3.65 linux/include/asm-alpha/ioctl.h
Next file: linux/include/asm-alpha/termios.h
Previous file: linux/include/asm-alpha/apecs.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Feb 17 09:19:42 1996
- Orig file:
v1.3.64/linux/include/asm-alpha/ioctl.h
- Orig date:
Sun Oct 29 11:38:49 1995
diff -u --recursive --new-file v1.3.64/linux/include/asm-alpha/ioctl.h linux/include/asm-alpha/ioctl.h
@@ -36,11 +36,12 @@
#define _IOC_READ 2U
#define _IOC_WRITE 4U
-#define _IOC(dir,type,nr,size) \
- (((dir) << _IOC_DIRSHIFT) | \
- ((type) << _IOC_TYPESHIFT) | \
- ((nr) << _IOC_NRSHIFT) | \
- ((size) << _IOC_SIZESHIFT))
+#define _IOC(dir,type,nr,size) \
+ ((__u32) \
+ (((dir) << _IOC_DIRSHIFT) | \
+ ((type) << _IOC_TYPESHIFT) | \
+ ((nr) << _IOC_NRSHIFT) | \
+ ((size) << _IOC_SIZESHIFT)))
/* used to create numbers */
#define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this