Skip to content
Snippets Groups Projects
Commit eded09cc authored by David Howells's avatar David Howells
Browse files

FRV: gcc-4.1.2 also inlines weak functions


gcc-4.1.2 inlines weak functions, which causes FRV to fail when the dummy
thread_info_cache_init() gets inlined into start_kernel().

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 5f0231d9
No related branches found
No related tags found
No related merge requests found
......@@ -442,9 +442,11 @@ void __init __weak smp_setup_processor_id(void)
{
}
# if THREAD_SIZE >= PAGE_SIZE
void __init __weak thread_info_cache_init(void)
{
}
#endif
/*
* Set up kernel memory allocators
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment