summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64/pgalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips64/pgalloc.h')
-rw-r--r--include/asm-mips64/pgalloc.h4
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