Skip to content

Commit f386c3c

Browse files
Greg UngererLinus Torvalds
authored andcommitted
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>
1 parent 1d2842e commit f386c3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/m68knommu/mm/init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ extern unsigned long memory_end;
9898
* The parameters are pointers to where to stick the starting and ending
9999
* addresses of available kernel virtual memory.
100100
*/
101-
void paging_init(void)
101+
void __init paging_init(void)
102102
{
103103
/*
104104
* Make sure start_mem is page aligned, otherwise bootmem and
@@ -147,7 +147,7 @@ void paging_init(void)
147147
}
148148
}
149149

150-
void mem_init(void)
150+
void __init mem_init(void)
151151
{
152152
int codek = 0, datak = 0, initk = 0;
153153
unsigned long tmp;

0 commit comments

Comments
 (0)