patch-2.1.51 linux/fs/exec.c

Next file: linux/fs/isofs/namei.c
Previous file: linux/fs/dcache.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.50/linux/fs/exec.c linux/fs/exec.c
@@ -396,7 +396,7 @@
 		*mm = *current->mm;
 		init_new_context(mm);
 		mm->def_flags = 0;	/* should future lockings be kept? */
-		mm->cpu_vm_mask = (1 << smp_processor_id());
+		mm->cpu_vm_mask = (1UL << smp_processor_id());
 		mm->count = 1;
 		mm->mmap = mm->mmap_cache = NULL;
 		mm->total_vm = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov