patch-2.1.120 linux/drivers/sound/lowlevel/awe_compat.h
Next file: linux/drivers/sound/msnd.c
Previous file: linux/drivers/sound/es1371.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Aug 28 10:44:06 1998
- Orig file:
v2.1.119/linux/drivers/sound/lowlevel/awe_compat.h
- Orig date:
Tue Oct 28 02:10:50 1997
diff -u --recursive --new-file v2.1.119/linux/drivers/sound/lowlevel/awe_compat.h linux/drivers/sound/lowlevel/awe_compat.h
@@ -92,7 +92,7 @@
get_user(target, (unsigned char*)&((addr)[offs]))
#define GET_SHORT_FROM_USER(target,addr,offs) \
get_user(target, (unsigned short*)&((addr)[offs]))
-#ifdef AWE_OSS38
+#ifdef AWE_OSS38_AND_IM_A_BANANA
#define IOCTL_TO_USER(target,offs,source,count) \
memcpy(target, (source)+(offs), count)
#define IO_WRITE_CHECK(cmd) (_SIOC_DIR(cmd) & _IOC_WRITE)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov