ARM: PSCI: Remove unused psci_text_end symbol
authorChen-Yu Tsai <wens@csie.org>
Sun, 19 Jun 2016 04:38:38 +0000 (12:38 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 15 Jul 2016 13:54:57 +0000 (15:54 +0200)
psci_text_end was used to calculate the PSCI stack address following the
secure monitor text. Now that we have an explicit secure stack section,
this is no longer used.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/cpu/armv7/ls102xa/psci.S
arch/arm/cpu/armv7/mx7/psci.S
arch/arm/cpu/armv7/sunxi/psci.c
arch/arm/mach-tegra/psci.S

index 86116e1..ba043ef 100644 (file)
@@ -111,6 +111,4 @@ psci_cpu_off:
 1:     wfi
        b       1b
 
-       .globl psci_text_end
-psci_text_end:
        .popsection
index 12cca7c..d9e9fbf 100644 (file)
@@ -33,6 +33,4 @@ psci_cpu_off:
 1:     wfi
        b 1b
 
-       .globl psci_text_end
-psci_text_end:
        .popsection
index cd0d944..c7d97fe 100644 (file)
@@ -271,8 +271,3 @@ void __secure psci_arch_init(void)
        reg &= ~BIT(0); /* Secure mode */
        cp15_write_scr(reg);
 }
-
-/* dummy entry for end of psci text */
-void __secure psci_text_end(void)
-{
-}
index 75068f3..85d5b6b 100644 (file)
@@ -106,6 +106,4 @@ ENTRY(psci_cpu_on)
        pop     {pc}
 ENDPROC(psci_cpu_on)
 
-       .globl psci_text_end
-psci_text_end:
        .popsection