mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
um: Mark get_top_address as __init
It's only invoked during boot from linux_main(). Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com> Link: https://patch.msgid.link/20241128083137.2219830-4-tiwei.btw@antgroup.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
bcd89fd8f5
commit
ae62ae7994
|
|
@ -289,7 +289,7 @@ static void __init parse_cache_line(char *line)
|
|||
}
|
||||
}
|
||||
|
||||
static unsigned long get_top_address(char **envp)
|
||||
static unsigned long __init get_top_address(char **envp)
|
||||
{
|
||||
unsigned long top_addr = (unsigned long) &top_addr;
|
||||
int i;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user