提交 82a355f5 编写于 作者: I Ingo Molnar

x86: make __set_fixmap() non-init

Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 3ec96783
...@@ -135,7 +135,7 @@ static __init void *spp_getpage(void) ...@@ -135,7 +135,7 @@ static __init void *spp_getpage(void)
return ptr; return ptr;
} }
static __init void static void
set_pte_phys(unsigned long vaddr, unsigned long phys, pgprot_t prot) set_pte_phys(unsigned long vaddr, unsigned long phys, pgprot_t prot)
{ {
pgd_t *pgd; pgd_t *pgd;
...@@ -214,8 +214,7 @@ void __init cleanup_highmap(void) ...@@ -214,8 +214,7 @@ void __init cleanup_highmap(void)
} }
/* NOTE: this is meant to be run only at boot */ /* NOTE: this is meant to be run only at boot */
void __init void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot)
__set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot)
{ {
unsigned long address = __fix_to_virt(idx); unsigned long address = __fix_to_virt(idx);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册