patch-1.3.28 linux/mm/vmalloc.c
Next file: linux/net/ipv4/tcp.c
Previous file: linux/mm/swap.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon Sep 18 08:54:26 1995
- Orig file:
v1.3.27/linux/mm/vmalloc.c
- Orig date:
Thu Sep 7 17:17:20 1995
diff -u --recursive --new-file v1.3.27/linux/mm/vmalloc.c linux/mm/vmalloc.c
@@ -31,8 +31,11 @@
{
struct task_struct * p;
- for_each_task(p)
+ for_each_task(p) {
+ if (!p->mm)
+ continue;
*pgd_offset(p->mm,address) = entry;
+ }
}
static inline void free_area_pte(pmd_t * pmd, unsigned long address, unsigned long size)
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