forked from luck/tmp_suning_uos_patched
144d634a21
The alignment is missing for various global symbols in s390 assembly code. With a recent gcc and an instruction like stgrl this can lead to a specification exception if the instruction uses such a mis-aligned address. Specify the alignment explicitely and while add it define __ALIGN for s390 and use the ENTRY define to save some lines of code. Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
10 lines
159 B
C
10 lines
159 B
C
#ifndef __ASM_LINKAGE_H
|
|
#define __ASM_LINKAGE_H
|
|
|
|
#include <linux/stringify.h>
|
|
|
|
#define __ALIGN .align 4, 0x07
|
|
#define __ALIGN_STR __stringify(__ALIGN)
|
|
|
|
#endif
|