mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-19 04:44:03 +00:00
[POWERPC] move_device_tree() should be __init
WARNING: vmlinux.o(.text+0x1e4c0): Section mismatch in reference from the function .move_device_tree() to the function .init.text:.lmb_alloc_base() The function .move_device_tree() references the function __init .lmb_alloc_base(). This is often because .move_device_tree lacks a __init annotation or the annotation of .lmb_alloc_base is wrong. move_device_tree() is called from early_init_devtree() only, which is __init Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
52db9b4426
commit
18f032cb51
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ early_param("mem", early_parse_mem);
|
||||||
* The device tree may be allocated beyond our memory limit, or inside the
|
* The device tree may be allocated beyond our memory limit, or inside the
|
||||||
* crash kernel region for kdump. If so, move it out of the way.
|
* crash kernel region for kdump. If so, move it out of the way.
|
||||||
*/
|
*/
|
||||||
static void move_device_tree(void)
|
static void __init move_device_tree(void)
|
||||||
{
|
{
|
||||||
unsigned long start, size;
|
unsigned long start, size;
|
||||||
void *p;
|
void *p;
|
||||||
|
|
Loading…
Add table
Reference in a new issue