Skip to content
  • Heiko Carstens's avatar
    [S390] stp: fix section mismatch warning. · 8f847003
    Heiko Carstens authored
    
    
    Fix these two (false positive) warnings by adding an __init annoation:
    
    WARNING: vmlinux.o(.text+0x7e6a): Section mismatch in reference from the function stp_reset() to the function .init.text:__alloc_bootmem()
    The function stp_reset() references
    the function __init __alloc_bootmem().
    This is often because stp_reset lacks a __init
    annotation or the annotation of __alloc_bootmem is wrong.
    
    WARNING: vmlinux.o(.text+0x7ece): Section mismatch in reference from the function stp_reset() to the function .init.text:free_bootmem()
    The function stp_reset() references
    the function __init free_bootmem().
    This is often because stp_reset lacks a __init
    annotation or the annotation of free_bootmem is wrong.
    
    Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    8f847003