编译内核代码时出现
- WARNING: vmlinux.o(.text+0x360): Section mismatch: reference to .init.text:early_init (between 'skpinv' and 'interrupt_base')
-
WARNING: vmlinux.o(.text+0x388): Section mismatch: reference to .init.text:machine_init (between 'skpinv' and 'interrupt_base')
-
WARNING: vmlinux.o(.text+0x38c): Section mismatch: reference to .init.text:MMU_init (between 'skpinv' and 'interrupt_base')
-
WARNING: vmlinux.o(.text+0x3b2): Section mismatch: reference to .init.text:start_kernel (between 'skpinv' and 'interrupt_base')
-
WARNING: vmlinux.o(.text+0x3b6): Section mismatch: reference to .init.text:start_kernel (between 'skpinv' and 'interrupt_base')
-
WARNING: vmlinux.o(.text+0x148c78): Section mismatch: reference to .init.text:pcibios_fixup_bus (between 'pci_scan_child_bus' and 'pci_scan_bridge')
-
WARNING: vmlinux.o(.text+0x14b65c): Section mismatch: reference to .init.text:pcibios_setup (between 'pci_setup' and 'quirk_mellanox_tavor')
-
WARNING: vmlinux.o(.text+0x165b1c): Section mismatch: reference to .init.text:__alloc_bootmem (between 'cpm_uart_allocbuf' and 'cpm_uart_freebuf')
这是因为在一些没有使用__Init 或者 __devinit 标示的函数中调用了有这些标示的函数。
Don't call functions marked with __init or __devinit from inside functions not marked with these special keywords.
阅读(3560) | 评论(0) | 转发(0) |