summaryrefslogtreecommitdiff
path: root/plat/common/aarch32/platform_mp_stack.S
diff options
context:
space:
mode:
Diffstat (limited to 'plat/common/aarch32/platform_mp_stack.S')
-rw-r--r--plat/common/aarch32/platform_mp_stack.S14
1 files changed, 7 insertions, 7 deletions
diff --git a/plat/common/aarch32/platform_mp_stack.S b/plat/common/aarch32/platform_mp_stack.S
index 497828f..94ef15d 100644
--- a/plat/common/aarch32/platform_mp_stack.S
+++ b/plat/common/aarch32/platform_mp_stack.S
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -49,10 +49,10 @@
* -----------------------------------------------------
*/
func platform_set_coherent_stack
- mov r3, lr
+ mov r9, lr
get_mp_stack pcpu_dv_mem_stack, PCPU_DV_MEM_STACK_SIZE
mov sp, r0
- bx r3
+ bx r9
endfunc platform_set_coherent_stack
/* -----------------------------------------------------
@@ -63,9 +63,9 @@ endfunc platform_set_coherent_stack
* -----------------------------------------------------
*/
func platform_get_stack
- mov r3, lr
+ mov r9, lr
get_mp_stack platform_normal_stacks, PLATFORM_STACK_SIZE
- bx r3
+ bx r9
endfunc platform_get_stack
/* -----------------------------------------------------
@@ -76,10 +76,10 @@ endfunc platform_get_stack
* -----------------------------------------------------
*/
func platform_set_stack
- mov r3, lr
+ mov r9, lr
get_mp_stack platform_normal_stacks, PLATFORM_STACK_SIZE
mov sp, r0
- bx r3
+ bx r9
endfunc platform_set_stack
/* -----------------------------------------------------