Browse Source

ARM: PSCI: Remove unused psci_text_end symbol

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>
Chen-Yu Tsai 9 years ago
parent
commit
28f9035732

+ 0 - 2
arch/arm/cpu/armv7/ls102xa/psci.S

@@ -111,6 +111,4 @@ psci_cpu_off:
 1:	wfi
 1:	wfi
 	b	1b
 	b	1b
 
 
-	.globl psci_text_end
-psci_text_end:
 	.popsection
 	.popsection

+ 0 - 2
arch/arm/cpu/armv7/mx7/psci.S

@@ -33,6 +33,4 @@ psci_cpu_off:
 1: 	wfi
 1: 	wfi
 	b 1b
 	b 1b
 
 
-	.globl psci_text_end
-psci_text_end:
 	.popsection
 	.popsection

+ 0 - 5
arch/arm/cpu/armv7/sunxi/psci.c

@@ -271,8 +271,3 @@ void __secure psci_arch_init(void)
 	reg &= ~BIT(0); /* Secure mode */
 	reg &= ~BIT(0); /* Secure mode */
 	cp15_write_scr(reg);
 	cp15_write_scr(reg);
 }
 }
-
-/* dummy entry for end of psci text */
-void __secure psci_text_end(void)
-{
-}

+ 0 - 2
arch/arm/mach-tegra/psci.S

@@ -106,6 +106,4 @@ ENTRY(psci_cpu_on)
 	pop	{pc}
 	pop	{pc}
 ENDPROC(psci_cpu_on)
 ENDPROC(psci_cpu_on)
 
 
-	.globl psci_text_end
-psci_text_end:
 	.popsection
 	.popsection