# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1533  -> 1.1534 
#	include/asm-ia64/ioctl.h	1.1     -> 1.2    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/12/04	jbarnes@tomahawk.engr.sgi.com	1.1534
# ioctl additions
# --------------------------------------------
#
diff -Nru a/include/asm-ia64/ioctl.h b/include/asm-ia64/ioctl.h
--- a/include/asm-ia64/ioctl.h	Thu Dec  4 16:50:22 2003
+++ b/include/asm-ia64/ioctl.h	Thu Dec  4 16:50:22 2003
@@ -59,6 +59,9 @@
 #define _IOR(type,nr,size)	_IOC(_IOC_READ,(type),(nr),sizeof(size))
 #define _IOW(type,nr,size)	_IOC(_IOC_WRITE,(type),(nr),sizeof(size))
 #define _IOWR(type,nr,size)	_IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
+#define _IOR_BAD(type,nr,size)	_IOC(_IOC_READ,(type),(nr),sizeof(size))
+#define _IOW_BAD(type,nr,size)	_IOC(_IOC_WRITE,(type),(nr),sizeof(size))
+#define _IOWR_BAD(type,nr,size)	_IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
 
 /* used to decode ioctl numbers.. */
 #define _IOC_DIR(nr)		(((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK)
