mirror of https://gitee.com/openkylin/linux.git
m68knommu: mark mem init functions as __init
Mark the m68knommu memory init functions as __init. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
1d2842e05a
commit
f386c3ccf6
|
@ -98,7 +98,7 @@ extern unsigned long memory_end;
|
|||
* The parameters are pointers to where to stick the starting and ending
|
||||
* addresses of available kernel virtual memory.
|
||||
*/
|
||||
void paging_init(void)
|
||||
void __init paging_init(void)
|
||||
{
|
||||
/*
|
||||
* Make sure start_mem is page aligned, otherwise bootmem and
|
||||
|
@ -147,7 +147,7 @@ void paging_init(void)
|
|||
}
|
||||
}
|
||||
|
||||
void mem_init(void)
|
||||
void __init mem_init(void)
|
||||
{
|
||||
int codek = 0, datak = 0, initk = 0;
|
||||
unsigned long tmp;
|
||||
|
|
Loading…
Reference in New Issue