patch-1.3.10 linux/drivers/char/selection.c
Next file: linux/drivers/char/tty_ioctl.c
Previous file: linux/drivers/block/genhd.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Wed Jul 12 06:41:58 1995
- Orig file:
v1.3.9/linux/drivers/char/selection.c
- Orig date:
Tue Jun 27 14:11:34 1995
diff -u --recursive --new-file v1.3.9/linux/drivers/char/selection.c linux/drivers/char/selection.c
@@ -15,6 +15,7 @@
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/malloc.h>
+#include <linux/types.h>
#include <asm/segment.h>
@@ -69,7 +70,7 @@
* User settable table: what characters are to be considered alphabetic?
* 256 bits
*/
-static unsigned long inwordLut[8]={
+static u32 inwordLut[8]={
0x00000000, /* control chars */
0x03FF0000, /* digits */
0x87FFFFFE, /* uppercase and '_' */
@@ -90,7 +91,7 @@
int i = verify_area(VERIFY_READ, (char *) arg, 36);
if (i)
return i;
- memcpy_fromfs(inwordLut, (unsigned long *)(arg+4), 32);
+ memcpy_fromfs(inwordLut, (u32 *)(arg+4), 32);
return 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