mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-17 20:54:10 +00:00
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: David Howells <dhowells@redhat.com>
This commit is contained in:
parent
5f0231d97b
commit
eded09ccf5
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
void __init __weak thread_info_cache_init(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set up kernel memory allocators
|
* Set up kernel memory allocators
|
||||||
|
|
Loading…
Add table
Reference in a new issue