summaryrefslogtreecommitdiff
path: root/ArmPkg/Library
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPkg/Library')
-rw-r--r--ArmPkg/Library/ArmSmcLib/Arm/ArmSmc.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPkg/Library/ArmSmcLib/Arm/ArmSmc.asm b/ArmPkg/Library/ArmSmcLib/Arm/ArmSmc.asm
index ad55ae7752..50580f726d 100644
--- a/ArmPkg/Library/ArmSmcLib/Arm/ArmSmc.asm
+++ b/ArmPkg/Library/ArmSmcLib/Arm/ArmSmc.asm
@@ -18,7 +18,7 @@
ArmCallSmc
push {r4-r8}
// r0 will be popped just after the SMC call
- pop {r0}
+ push {r0}
// Load the SMC arguments values into the appropriate registers
ldr r7, [r0, #28]