diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-04-29 21:13:14 +0000 |
---|---|---|
committer | <ralf@linux-mips.org> | 1997-04-29 21:13:14 +0000 |
commit | 19c9bba94152148523ba0f7ef7cffe3d45656b11 (patch) | |
tree | 40b1cb534496a7f1ca0f5c314a523c69f1fee464 /include/linux/vmalloc.h | |
parent | 7206675c40394c78a90e74812bbdbf8cf3cca1be (diff) |
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'include/linux/vmalloc.h')
-rw-r--r-- | include/linux/vmalloc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h index 7fc973198..fcc6ad09f 100644 --- a/include/linux/vmalloc.h +++ b/include/linux/vmalloc.h @@ -20,13 +20,17 @@ int vread(char *buf, char *addr, int count); extern inline void set_pgdir(unsigned long address, pgd_t entry) { +#if !defined(__mc68000__) && !defined(__sparc_v9__) struct task_struct * p; + read_lock(&tasklist_lock); for_each_task(p) { if (!p->mm) continue; *pgd_offset(p->mm,address) = entry; } + read_unlock(&tasklist_lock); +#endif } #endif |