summaryrefslogtreecommitdiff
path: root/fs/exec.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 17:50:30 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 17:50:30 -0800
commit43e9282d088b07f03fc16a5325ff74cf49fb2990 (patch)
treebf54a000466ab5e020f4cfd7b6836ab64e0d23a3 /fs/exec.c
parent7a2deb32924142696b8174cdf9b38cd72a11fc96 (diff)
v2.4.0 -> v2.4.0.1
- Don't drop a megabyte off the old-style memory size detection - remember to UnlockPage() in ramfs_writepage() - 3c59x driver update from Andrew Morton - egcs-1.1.2 miscompiles depca: workaround by Andrew Morton - dmfe.c module init fix: Andrew Morton - dynamic XMM support. Andrea Arkangeli. - Locked SHM segment deadlock fix - fork() page table copy race fix
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/exec.c b/fs/exec.c
index 07ee80d0c1a7..667e5dad9058 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -407,6 +407,7 @@ static int exec_mmap(void)
/* Add it to the list of mm's */
spin_lock(&mmlist_lock);
list_add(&mm->mmlist, &init_mm.mmlist);
+ mmlist_nr++;
spin_unlock(&mmlist_lock);
task_lock(current);