sh: Change __nosave_XXX symbols to long
authorFrancesco Virlinzi <francesco.virlinzi@st.com>
Tue, 8 Feb 2011 15:27:12 +0000 (16:27 +0100)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 15 Feb 2011 07:24:54 +0000 (16:24 +0900)
commit13c12a4e8ecdf3998cd2d89ade69f6f194819c95
tree60526b57e92dbe83c454e70a5156c50b41288ac8
parenta25bbe12224e649fe12cba7a2fa920180a35c8a9
sh: Change __nosave_XXX symbols to long

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: Francesco Virlinzi <francesco.virlinzi@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/sections.h