• Francesco Virlinzi's avatar
    sh: Change __nosave_XXX symbols to long · 13c12a4e
    Francesco Virlinzi authored
    This patch changes the:
     - __nosave_begin
     - __nosave_end
    symbols from 'void' to 'long' as required by the latest
    Gcc (4.5.2) which raises the compilation error:
    
    cc1: warnings being treated as errors
    arch/sh/kernel/swsusp.c: In function 'pfn_is_nosave':
    arch/sh/kernel/swsusp.c:24:28: error: taking address of expression of type 'void'
    arch/sh/kernel/swsusp.c:25:26: error: taking address of expression of type 'void'
    arch/sh/kernel/swsusp.c:25:26: error: taking address of expression of type 'void'
    arch/sh/kernel/swsusp.c:25:26: error: taking address of expression of type 'void'
    Signed-off-by: default avatarFrancesco Virlinzi <francesco.virlinzi@st.com>
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    13c12a4e
sections.h 331 Bytes