Skip to content

Commit 13c12a4

Browse files
FrancescoVirlinzipmundt
authored andcommitted
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>
1 parent a25bbe1 commit 13c12a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/sh/include/asm/sections.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#include <asm-generic/sections.h>
55

6-
extern void __nosave_begin, __nosave_end;
6+
extern long __nosave_begin, __nosave_end;
77
extern long __machvec_start, __machvec_end;
88
extern char __uncached_start, __uncached_end;
99
extern char _ebss[];

0 commit comments

Comments
 (0)