ARM: Move __secure definition to common asm/secure.h
authorChen-Yu Tsai <wens@csie.org>
Sun, 19 Jun 2016 04:38:41 +0000 (12:38 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 15 Jul 2016 13:54:57 +0000 (15:54 +0200)
commitafc1f65f504324cd5f87a8cb480bebeb0c61e4e0
tree1a98b8e0694ebba50455fb9b9fefc55dba8d4969
parent9c4f52b855876862a7a30b63bde4a0d22605c3dc
ARM: Move __secure definition to common asm/secure.h

sunxi and i.mx7 both define the __secure modifier to put functions in
the secure section. Move this to a common place.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/cpu/armv7/mx7/psci-mx7.c
arch/arm/cpu/armv7/sunxi/psci.c
arch/arm/include/asm/secure.h