diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-04-23 06:12:14 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-04-23 06:12:14 +0000 |
commit | b9e55bb180a44f990e201c771c103469f6fb08ca (patch) | |
tree | dcbec41543db290e07d5b2723c611d5ebf9c0fac /include/asm-mips64/pgalloc.h | |
parent | c4ca763cc6ffd1ffef022766dde60487e42f17ae (diff) |
Change all instances of __SMP__ to CONFIG_SMP and include
<linux/config.h> where necessary.
Diffstat (limited to 'include/asm-mips64/pgalloc.h')
-rw-r--r-- | include/asm-mips64/pgalloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips64/pgalloc.h b/include/asm-mips64/pgalloc.h index 24f7c3a3f..74d3e2998 100644 --- a/include/asm-mips64/pgalloc.h +++ b/include/asm-mips64/pgalloc.h @@ -220,7 +220,7 @@ extern inline void set_pgdir(unsigned long address, pgd_t entry) { struct task_struct * p; pgd_t *pgd; -#ifdef __SMP__ +#ifdef CONFIG_SMP int i; #endif @@ -231,7 +231,7 @@ extern inline void set_pgdir(unsigned long address, pgd_t entry) *pgd_offset(p->mm, address) = entry; } read_unlock(&tasklist_lock); -#ifndef __SMP__ +#ifndef CONFIG_SMP for (pgd = (pgd_t *)pgd_quicklist; pgd; pgd = (pgd_t *)*(unsigned long *)pgd) pgd[address >> PGDIR_SHIFT] = entry; #else |