diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-02-10 02:03:59 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-02-10 02:03:59 +0000 |
commit | 1c7762792ff162236c3af1663d12fcb9f9bd10f0 (patch) | |
tree | def744f1f235f5ebffa5ef589c6c967c871caa31 /arch/mips64/mm | |
parent | 0481e7544584f5401f762fce5f2b8640e1c08e57 (diff) |
Okay, we can now touch remote node memory, setup bootmem data structures
per node and allocate per node mem_maps.
Diffstat (limited to 'arch/mips64/mm')
-rw-r--r-- | arch/mips64/mm/init.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/arch/mips64/mm/init.c b/arch/mips64/mm/init.c index e788d3b36..000ba906f 100644 --- a/arch/mips64/mm/init.c +++ b/arch/mips64/mm/init.c @@ -1,4 +1,4 @@ -/* $Id: init.c,v 1.10 2000/01/29 01:41:59 ralf Exp $ +/* $Id: init.c,v 1.11 2000/02/04 07:40:24 ralf Exp $ * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive @@ -38,7 +38,7 @@ #endif #include <asm/mmu_context.h> -static unsigned long totalram_pages = 0; +unsigned long totalram_pages = 0; extern void show_net_buffers(void); @@ -61,7 +61,7 @@ void __bad_pmd(pgd_t *pgd) pgd_set(pgd, (pmd_t *) BAD_PAGETABLE); } -extern inline void pgd_init(unsigned long page) +void pgd_init(unsigned long page) { unsigned long *p, *end; @@ -93,7 +93,7 @@ pgd_t *get_pgd_slow(void) return ret; } -extern inline void pmd_init(unsigned long addr) +void pmd_init(unsigned long addr) { unsigned long *p, *end; @@ -213,7 +213,7 @@ asmlinkage int sys_cacheflush(void *addr, int bytes, int cache) */ unsigned long empty_zero_page, zero_page_mask; -static inline unsigned long setup_zero_pages(void) +unsigned long setup_zero_pages(void) { unsigned long order, size, pg; @@ -337,6 +337,7 @@ void show_mem(void) #endif } +#ifndef CONFIG_DISCONTIGMEM /* References to section boundaries */ extern char _ftext, _etext, _fdata, _edata; @@ -399,6 +400,7 @@ void __init mem_init(void) datasize >> 10, initsize >> 10); } +#endif /* !CONFIG_DISCONTIGMEM */ #ifdef CONFIG_BLK_DEV_INITRD void free_initrd_mem(unsigned long start, unsigned long end) |