Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3096de3 authored by Martin Habets's avatar Martin Habets Committed by David S. Miller
Browse files

[SPARC32]: Mark srmmu_nocache_init as __init.



Fix these 2.6.19-rc1 build warnings from modpost:

WARNING: vmlinux - Section mismatch: reference to .init.text:__alloc_bootmem from .text between 'srmmu_nocache_init' (at offset 0x1a0f8) and 'srmmu_mmu_info'
WARNING: vmlinux - Section mismatch: reference to .init.text:__alloc_bootmem from .text between 'srmmu_nocache_init' (at offset 0x1a118) and 'srmmu_mmu_info'
WARNING: vmlinux - Section mismatch: reference to .init.text:srmmu_early_allocate_ptable_skeleton from .text between 'srmmu_nocache_init' (at offset 0x1a188) and 'srmmu_mmu_info'

Signed-off-by: default avatarMartin Habets <errandir_news@mph.eclipse.co.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c2baeb05
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -402,7 +402,7 @@ void srmmu_nocache_calcsize(void)
	srmmu_nocache_end = SRMMU_NOCACHE_VADDR + srmmu_nocache_size;
	srmmu_nocache_end = SRMMU_NOCACHE_VADDR + srmmu_nocache_size;
}
}


void srmmu_nocache_init(void)
void __init srmmu_nocache_init(void)
{
{
	unsigned int bitmap_bits;
	unsigned int bitmap_bits;
	pgd_t *pgd;
	pgd_t *pgd;