mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-05-17 15:31:57 +00:00
[POWERPC] Add __init annotations to reserve_mem() and stabs_alloc()
reserve_mem() and stabs_alloc() are both called only from other __init routines, so can be marked __init. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
11fbb00c67
commit
0108d3fe3c
@@ -967,7 +967,7 @@ static unsigned long __init prom_next_cell(int s, cell_t **cellp)
|
||||
* If problems seem to show up, it would be a good start to track
|
||||
* them down.
|
||||
*/
|
||||
static void reserve_mem(u64 base, u64 size)
|
||||
static void __init reserve_mem(u64 base, u64 size)
|
||||
{
|
||||
u64 top = base + size;
|
||||
unsigned long cnt = RELOC(mem_reserve_cnt);
|
||||
|
||||
Reference in New Issue
Block a user