summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch/arm/util.S
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/arch/arm/util.S')
-rw-r--r--payloads/libpayload/arch/arm/util.S8
1 files changed, 3 insertions, 5 deletions
diff --git a/payloads/libpayload/arch/arm/util.S b/payloads/libpayload/arch/arm/util.S
index e3f173eb2d..7c14a39a4f 100644
--- a/payloads/libpayload/arch/arm/util.S
+++ b/payloads/libpayload/arch/arm/util.S
@@ -27,11 +27,9 @@
* SUCH DAMAGE.
*/
- .global halt
- .text
- .align 4
+#include <arch/asm.h>
/* This function puts the system into a halt. */
- .type halt, function
-halt:
+ENTRY(halt)
b halt
+ENDPROC(halt)