From: Ingo Molnar Date: Fri, 25 Apr 2008 16:28:21 +0000 (+0200) Subject: x86: make __set_fixmap() non-init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=82a355f5a2fdc203e5a32626d667ec43fc76b8b1;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git x86: make __set_fixmap() non-init Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 1ff7906a9a4..7a81dd02069 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -135,7 +135,7 @@ static __init void *spp_getpage(void) return ptr; } -static __init void +static void set_pte_phys(unsigned long vaddr, unsigned long phys, pgprot_t prot) { pgd_t *pgd; @@ -214,8 +214,7 @@ void __init cleanup_highmap(void) } /* NOTE: this is meant to be run only at boot */ -void __init -__set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot) +void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot) { unsigned long address = __fix_to_virt(idx);