powerpc: Prefer __section and __printf from compiler_attributes.h
Reported-by: Sedat Dilek <sedat.dilek@gmail.com> Suggested-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Nick Desaulniers <ndesaulniers@google.com> [mpe: Drop changes to a/p/boot which doesn't use linux headers] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20190812215052.71840-10-ndesaulniers@google.com
This commit is contained in:

committed by
Michael Ellerman

parent
7074695ac6
commit
a7032637b5
@@ -26,7 +26,7 @@
|
||||
static void scrollscreen(void);
|
||||
#endif
|
||||
|
||||
#define __force_data __attribute__((__section__(".data")))
|
||||
#define __force_data __section(.data)
|
||||
|
||||
static int g_loc_X __force_data;
|
||||
static int g_loc_Y __force_data;
|
||||
|
Reference in New Issue
Block a user