diff options
author | Chen Liqin <liqin.chen@sunplusct.com> | 2009-08-30 06:26:32 +0200 |
---|---|---|
committer | Chen Liqin <liqin.chen@sunplusct.com> | 2009-08-30 06:26:32 +0200 |
commit | d8aa899bb27ad7879ab9e621365e04ada2745a65 (patch) | |
tree | d853e70141b93476431d09bba812802c63c9ba10 /arch/score/mm/init.c | |
parent | Merge branch 'score' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/as... (diff) | |
download | linux-d8aa899bb27ad7879ab9e621365e04ada2745a65.tar.xz linux-d8aa899bb27ad7879ab9e621365e04ada2745a65.zip |
score: remove unused code, add include files in .c
Diffstat (limited to 'arch/score/mm/init.c')
-rw-r--r-- | arch/score/mm/init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/score/mm/init.c b/arch/score/mm/init.c index d496e9f1a601..4e3dcd0c4716 100644 --- a/arch/score/mm/init.c +++ b/arch/score/mm/init.c @@ -144,7 +144,8 @@ void free_initrd_mem(unsigned long start, unsigned long end) void __init_refok free_initmem(void) { free_init_pages("unused kernel memory", - (unsigned long)__init_begin, (unsigned long)__init_end); + __pa(&__init_begin), + __pa(&__init_end)); } unsigned long pgd_current; @@ -156,4 +157,5 @@ unsigned long pgd_current; * are constants. So we use the variants from asm-offset.h until that gcc * will officially be retired. */ +pgd_t swapper_pg_dir[PTRS_PER_PGD] __page_aligned(PTE_ORDER); pte_t invalid_pte_table[PTRS_PER_PTE] __page_aligned(PTE_ORDER); |