ARC: define __ALIGN_STR and __ALIGN symbols for ARC
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Wed, 11 Mar 2020 16:26:43 +0000 (19:26 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Wed, 11 Mar 2020 17:07:15 +0000 (10:07 -0700)
commit8d92e992a785f35d23f845206cf8c6cafbc264e0
tree8cfa67baa0b1a675262dcbaffab3413f15623970
parent204c7eceb76f348b89ccbf20fa3ba9a703ffada5
ARC: define __ALIGN_STR and __ALIGN symbols for ARC

The default defintions use fill pattern 0x90 for padding which for ARC
generates unintended "ldh_s r12,[r0,0x20]" corresponding to opcode 0x9090

So use ".align 4" which insert a "nop_s" instruction instead.

Cc: stable@vger.kernel.org
Acked-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/linkage.h